Displaying 20 results from an estimated 12000 matches similar to: "integrate two lines to one"
2010 Dec 16
3
Integrate two function in R
Hello I have two function in R
like
g(x)=2x-3
and s(x)=5x^2+2
and I want to find the integrafl of the g(x)*s(x) inside the interval of [a,b]
Could you please help me find the proper function?
I would like to thank you in advance for your help
Regards
Alex
[[alternative HTML version deleted]]
2010 Oct 05
4
Linear Integration
Hello
I would like to calculate a weighted line integral.
The integral is calculated by the cells that this lines trasverses (the small
cells belong to matrix (m*n) that represent the value that a specific area has.
I need to calculate the weights by finding out how much the line touches or
impinges inside a cell.
The weight is less if a line just touches one of the four edges of a square
2011 Feb 01
2
[LLVMdev] Convenience methods in ConstantExpr et al
I notice that there's a lot of inconsistency in the various LLVM classes
with respect to convenience methods. Here's some examples:
For creating GEPS, IRBuilder has:
CreateGEP (2 overloads)
CreateInBoundsGEP (2 overloads)
CreateConstGEP1_32
CreateConstInBoundsGEP1_32
CreateConstGEP2_32
CreateConstInBoundsGEP2_32
CreateConstGEP1_64
CreateConstInBoundsGEP1_64
2011 Feb 02
0
[LLVMdev] Convenience methods in ConstantExpr et al
On Mon, Jan 31, 2011 at 10:57 PM, Talin <viridia at gmail.com> wrote:
> I notice that there's a lot of inconsistency in the various LLVM classes
> with respect to convenience methods. Here's some examples:
>
> For creating GEPS, IRBuilder has:
>
> CreateGEP (2 overloads)
> CreateInBoundsGEP (2 overloads)
> CreateConstGEP1_32
>
2011 Feb 02
2
[LLVMdev] Convenience methods in ConstantExpr et al
Talin wrote:
> On Mon, Jan 31, 2011 at 10:57 PM, Talin <viridia at gmail.com
> <mailto:viridia at gmail.com>> wrote:
>
> I notice that there's a lot of inconsistency in the various LLVM
> classes with respect to convenience methods. Here's some examples:
>
> For creating GEPS, IRBuilder has:
>
> CreateGEP (2 overloads)
>
2013 Oct 25
1
add a color band
Hi all,
I would like to ask your help to add a color band (Ι am not sure regarding the right term, this color band at the right of the plot "describing" values with their corresponding color.
For now I have only this code
test<-matrix(data=runif(10000),nrow=100)
plot(test,axes="FALSE")
axis(1,at=c(0,1),labels=c("a","b")) #
but I would like to add
2008 Jan 31
2
Facebooker and file_column
Facebooker URL Rewriter stuff overloads ActionController::AbstractRequest.relative_url_root, causing a conflict with the plugin file_column and possibly other utilities. file_column constructs image URLs using the server host and relative_url_root
This is not related to the sandbox patch I added to the rewriter. Facebooker overloaded relative_url_root before I touched it.
I''ve
2005 Aug 02
1
Latest tarball
The latest tarball won''t compile on Windows:
src/Functions.cpp(582) : error C2664: ''wxLogWarning'' : cannot convert
parameter 1 from ''const class wxWCharBuffer'' to ''const char *''
No user-defined-conversion operator available that can perform
this conversion, or the operator cannot be called
src/Functions.cpp(592) : error
2010 Jun 26
2
[LLVMdev] IRBuilder<>::CreateCall, CreateCall2, CreateCall3, ...
Hey guys,
Whys are there like 5 variants of CreateCall in IRBuilder<> with numbers appended to them? The only difference I can see is the number of arguments. Aren't C++ function overloads be suited for this?
Félix
2006 Feb 13
1
Problem with overloading add type casts of numeric strings in PHP bindings
Overloaded methods are mapped in PHP to their implementation (_SWIG_0,
_SWIG_1, ..) based on the types and number of arguments the user supplies.
However, if one overload accept a string and another an integer the bindings
fail to separate them since PHP treats numeric strings much the same as
integers.
The problem is illustrated in WritableDatabase_replace_document() which
takes either the
2010 Nov 17
1
Give me all operator
Hello is there in R any operator that give you all the data of a matrix
for example in matlab
x(2,3) returns the 2ndth row and 3rdth column
x(2,:) returns all the columns of the 2nd row.
In R now I would like to print all the
CRagent[[i]][2]
CRagent[[:]][2] doesnot work of course. Other option is to make a loop with an index i that spans from 1:last element of CRagent[[]] but this is not
2008 Dec 27
1
[LLVMdev] [Patch] Adding unit tests to LLVM
Misha Brukman wrote:
> On Dec 22, 7:34 pm, Talin <viri... at gmail.com> wrote:
>
>> (Forwarding this to llvm-dev)
>>
>> This patch adds a unit test framework to LLVM, along with a sample unit test
>> for DenseMap. I don't expect this patch to be accepted as-is, this is mainly
>> a trial balloon and proof of concept.
>>
>
> I think
2010 Jun 26
0
[LLVMdev] IRBuilder<>::CreateCall, CreateCall2, CreateCall3, ...
On Jun 25, 2010, at 6:24 PM, Félix Cloutier wrote:
> Hey guys,
>
> Whys are there like 5 variants of CreateCall in IRBuilder<> with numbers appended to them? The only difference I can see is the number of arguments. Aren't C++ function overloads be suited for this?
An overload could work, but this sort of API makes it more obvious which one you're trying to call and
2019 Jul 01
14
RFC: Complex in LLVM
Hey all,
I volunteered to put together a proposal regard complex in LLVM.
Consider the following to be a strawman meant to spark discussion. It's
based on real-world experience with complex but is not expected to cover
all use-cases.
Proposal to Support Complex Operations in LLVM
----------------------------------------------
Abstract
Several vendors and individuals have proposed
2005 May 05
2
[LLVMdev] design questions
Hey, I'm curious about two of the design questions in LLVM after
reading the language reference. If there's preexisting material
explaining this, just point me at it (looked and couldn't find any).
- Why unsigned types rather than signed-only like Java/JVM? If I
understand correctly, their behavior is only distinguishable in
overflow situations, and the availability of
2005 Aug 07
2
Icon problem still exists on latest tarball
Icon.cpp still errors with:
src/Icon.cpp(1200) : error C2666: ''wxIcon::wxIcon'' : 2 overloads have
similar conversions
I''ll now re-swig everything and see how it goes.
Roy
2010 Nov 17
2
How to catch warnings
Hello when my code executes I receive the message that were some warnings. I want to catch warning messages at run time so to print some local variables and try to understand why this warning happens.
I searched on internet and I tried withCallingHandlers(
which seems to work but as I used Rkward the result is awful. I get a prompt to copy paste a value only while at the same time my background
2008 Dec 10
2
[LLVMdev] dyn_cast really doesn't like multiple inheritance
Been having a bit of a problem with dyn_cast: Suppose I have a class A
that inherits from two base classes, both of which support dyn_cast. In
order to use dyn_cast on A, I need to do a bunch of extra work:
1) Since dyn_cast uses reinterpret_cast rather than static_cast, the
pointer value won't get adjusted by the cast operation, making the
pointer invalid. I end up having to redefine
2006 Jul 18
2
R-help in a newsgroup
Hi,
I find a lot of the R-help email traffic overloads my inbox. My IT
managers are not really happy for me to be subscribed to several
high-traffic email lists. I don't want to lose my contact with the
R-help emails, so I'm having to consider various ways of handling the
traffic. Anyhow, I'm wondering how many people on the R-help email
list would prefer that most of the traffic
2012 Jul 30
6
Convert variable to STring
Dear all,
I have a variable that I would like also to use it as a string. The reasons is that I want to collect results from different function to one table.. So when I use the
colnames(mymatrix) <-c(function1.function2,function3)
the function1, function2, function3 to be "converted" to simple strings so as
colnames(mymatrix)