<< mps_clear mpscilab mps_const_e >>

mpscilab >> mpscilab > mps_const_catalan

mps_const_catalan

Create and initialize a multi-precision matrix filled with the Catalan's constant

Calling Sequence

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

Arguments

rop

multi-precision matrix

m1, n1, prec

integers

Description

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

rop = mps_const_catalan( prec )

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

rop = mps_const_catalan( m1, n1, prec )

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

mps_const_catalan( rop )

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

Restrictions

The precision must be two bits or higher.

Examples

mpsA = mps_const_catalan(100)
mpsA = mps_const_catalan(10,10,100)

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

See Also

<< mps_clear mpscilab mps_const_e >>