Class: MathGL::MglDataV

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

Overview

MglDataV 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)

1464
1465
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1464

def create
end

#fill(x1, x2 = NaN, dir = 'x') ⇒ nil

Special data classes. Set ranges of the variable.

Parameters:

  • x1 (Float)
  • x2 (Float) (defaults to: NaN)

    default=NaN

  • dir (String) (defaults to: 'x')

    default='x'

Returns:

  • (nil)

1476
1477
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1476

def fill
end

#freq(dp, dir = 'x') ⇒ nil

Special data classes. Set as frequency variable with increment dp.

Parameters:

  • dp (Float)
  • dir (String) (defaults to: 'x')

    default='x'

Returns:

  • (nil)

1487
1488
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1487

def freq
end