<< mps_const_catalan mpscilab mps_const_euler >>

mpscilab >> mpscilab > mps_const_e

mps_const_e

Create and initialize a multi-precision matrix filled with the base of the natural logarithm e

Calling Sequence

rop = mps_const_e( prec )
rop = mps_const_e( m1, n1, prec )
mps_const_e( rop )

Arguments

rop

multi-precision matrix

m1, n1, prec

integers

Description

Create and initialize a multi-precision matrix filled with the value of e. The constant will be evaluated up to the specified precision.

rop = mps_const_e( prec )

Create and initialize a scalar of precision prec initialized to e.

rop = mps_const_e( m1, n1, prec )

Create and initialize a matrix of size (m1,n1) with precision prec filled with the value of e.

mps_const_e( rop )

Set every element of rop to e.

Restrictions

The precision must be two bits or higher.

Examples

mpsA = mps_const_e(100)
mpsA = mps_const_e(10,10,100)

//Set every elements of mpsB to e.
mpsB = mps_init(10,10,100)
mps_const_e(mpsB)

See Also

<< mps_const_catalan mpscilab mps_const_euler >>