RTableLowerBound - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : OpenMaple : VB Application Programming Interface : RTable Manipulation : OpenMaple/VB/RTableBounds

RTableLowerBound

query the lower bound of the ith dimension of an rtable in external code

RTableUpperBound

query the upper bound of the ith dimension of an rtable in external code

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

RTableLowerBound(kv, rt, dim)

RTableUpperBound(kv, rt, dim)

Parameters

kv

-

kernel handle returned by StartMaple

rt

-

Maple rtable object

dim

-

integer specifying dimension

Description

• 

These functions are part of the OpenMaple interface to Microsoft(R) Visual Basic(R).

• 

The RTableLowerBound function returns the lower bound of dimension dim for the given rtable, rt.  For rtables with subtype Matrix and Vector, this always returns 1.  For Arrays, this command is equivalent to calling lhs([rtable_dims(A)][dim]), or op([2,dim,1],rt).

• 

The RTableUpperBound function returns the upper bound of dimension dim for the given rtable, rt.  For rtables with subtype Matrix and Vector, this is equivalent to to calling op([1,dim],rt). For Arrays, this command is equivalent to calling op([2,dim,2],rt). For all rtables, it is equivalent to calling rhs([rtable_dims(A)][dim]).

Examples

Dim rt As Long

rt = EvalMapleStatement(kv, "Matrix([[1,2,3],[4,5,6]]);")

Write #1, RTableLowerBound(kv, rt, 1), RTableUpperBound(kv, rt, 1)

Write #1, RTableLowerBound(kv, rt, 2), RTableUpperBound(kv, rt, 2)

See Also

OpenMaple

OpenMaple/VB/API

OpenMaple/VB/Examples

rtable

rtable_dims

trademark

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam