<< mps_const_e mpscilab mps_const_log2 >>

mpscilab >> mpscilab > mps_const_euler

mps_const_euler

Create and initialize a multi-precision matrix filled with the Euler-Mascheroni constant

Calling Sequence

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

Arguments

rop

multi-precision matrix

m1, n1, prec

integers

Description

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

rop = mps_const_euler( prec )

Create and initialize a scalar of precision prec initialized to the Euler's constant.

rop = mps_const_euler( m1, n1, prec )

Create and initialize a matrix of size (m1,n1) with precision prec filled with the Euler's constant.

mps_const_euler( rop )

Set every element of rop to the Euler's constant.

Restrictions

The precision must be two bits or higher.

Examples

mpsA = mps_const_euler(100)
mpsA = mps_const_euler(10,10,100)

//Set every elements of mpsB to the Euler's constant.
mpsB = mps_init(10,10,100)
mps_const_euler(mpsB)

See Also

<< mps_const_e mpscilab mps_const_log2 >>