Class: MathGL::MglDataF

Inherits:
Object
  • Object
show all
Defined in:
lib/mathgl/doc/libdoc_data_en.rb

Overview

MglDataF class

Instance Method Summary collapse

Instance Method Details

#create(nx = 1, ny = 1, nz = 1) ⇒ nil

Special data classes. Set “sizes” nxxnyxnz.

Parameters:

  • nx (long) (defaults to: 1)

    default=1

  • ny (long) (defaults to: 1)

    default=1

  • nz (long) (defaults to: 1)

    default=1

Returns:

  • (nil)

1505
1506
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1505

def create
end

#set_formula(func) ⇒ nil

Special data classes. Set string which will be evaluated at function calls. Note this variant is about 10 times slower than SetFunc() one.

Parameters:

  • func (String)

Returns:

  • (nil)

1526
1527
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1526

def set_formula
end

#set_func(x, y, z, p, p = NULL) ⇒ nil

Special data classes. Set pointer to function which will be used for data.

Parameters:

  • mreal (mreal (f)(mreal] x)

    (f)(mreal] x

  • y (Float)
  • z (Float)
  • p (nil)
  • p (nil)

    default=NULL

Returns:

  • (nil)

1540
1541
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1540

def set_func
end

#set_ranges(p1, p2) ⇒ nil

Special data classes. Set ranges for internal x,y,z variables.

Parameters:

Returns:

  • (nil)

1516
1517
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1516

def set_ranges
end