Skip to main content
1-Visitor
November 23, 2014
Solved

is it possible to integrate "vector"?

  • November 23, 2014
  • 15 replies
  • 5272 views

I tried to know by searching "google" and "PTC site".

But I don't know well.

Just, I saw two posting.

one is said that "vector" couldn't integrate

the other is said that "vector is possible to integrate"

so I felt confused..

I need help.

Best answer by StuartBruff

Stuart Bruff wrote:

If it's a range variable, then it won't work because you can't directly use an index to get a value from a range variable.

... although, you could write a function that operates on a range variable via a for loop and returns the value, eg

rvValue(rv,k):=v<-vec(rv)

return v[k

Here's another, more efficient version, that works in Mathcad 14 and should work in Prime ...

collab+-+14+11+23+range+variable+indexing+01.jpg

It only iterates over the (implied) range variable rv elements until it has reached (implied) index k.

Stuart

15 replies

23-Emerald I
November 23, 2014

A vector is a list of values,discrete points.

You integrate a function.

jlee-21-VisitorAuthor
1-Visitor
November 23, 2014

I mean that

For example

imagin that there is "t" function

.

and it has 3 vector index

that is, t(i, j, k)

I integrated " t " function with 3 vector. But mathcad couldn't solve.

so I wonder if it is possible to integrate function with vectors

23-Emerald I
November 23, 2014

Functions don't need vector indices.

Read the help files, learn how this software works.