SF_ARRAYS

Description

SciFortran module for array creation and manipulation

Quick access

Routines:

linspace(), logspace(), arange(), upminterval(), upmspace(), powspace()

Subroutines and functions

function  sf_arrays/linspace(start, stop, num[, istart, iend, mesh])
Parameters:
  • start [real]

  • stop [real]

  • num [integer]

Options:
  • istart [logical]

  • iend [logical]

  • mesh [real]

Return:

array (num) [real]

function  sf_arrays/logspace(start, stop, num[, base])
Parameters:
  • start [real]

  • stop [real]

  • num [integer]

Options:

base [real]

Return:

array (num) [real]

function  sf_arrays/arange(start, num[, iend])
Parameters:
  • start [integer]

  • num [integer]

Options:

iend [logical]

Return:

array (num) [integer]

function  sf_arrays/upminterval(start, stop, midpoint, p, q[, type, base, mesh])
Parameters:
  • start [real]

  • stop [real]

  • midpoint [real]

  • p [integer, in,required]

  • q [integer, in,required]

Options:
  • type [integer]

  • base [real]

  • mesh (1 + 2 · p · q) [real]

Return:

array (1 + 2 · p · q) [real]

function  sf_arrays/upmspace(start, stop, p, u, ndim[, base, istart, iend, mesh])
Parameters:
  • start [real]

  • stop [real]

  • p [integer]

  • u [integer]

Options:
  • ndim [integer]

  • base [real]

  • istart [logical]

  • iend [logical]

  • mesh (ndim) [real]

Return:

aout (ndim) [real]

function  sf_arrays/powspace(start, stop, num[, base])
Parameters:
  • start [real]

  • stop [real]

  • num [integer]

Options:

base [real]

Return:

array (num) [real]