Home > Objects > @iFunc > zeros.m

# iFit/zeros

## PURPOSE

s = zeros(s,N,M,P,...) : initialize an iFunc array

## SYNOPSIS

function s = zeros(iFunc_in,varargin)

## DESCRIPTION

``` s = zeros(s,N,M,P,...) : initialize an iFunc array

@iFunc/zeros function to create an array of 's' iFunc objects
The object 's' is duplicated into an array. Use s=iFunc to get an empty array.

input:  s: object or array (iFunc)
output: b: object or array (iFunc)
ex: zeros(iFunc,5,5) will create a 5-by-5 empty iFunc array
zeros(s,5,5) will return a 5-by-5 array filled with 's'

Version: Nov. 26, 2018

## CROSS-REFERENCE INFORMATION

This function calls:
• copyobj b = copyobj(s) : makes a copy of iFunc object
• iFunc
• isempty isempty(s) : true for empty iFunc object
• zeros s = zeros(s,N,M,P,...) : initialize an iFunc array
This function is called by:
• feval [signal, model, axes, name] = feval(model, parameters, x,y, ...) evaluate a function
• fits [pars,criteria,message,output] = fits(model, data, pars, options, constraints, ...) : fit a model on a data set
• isempty isempty(s) : true for empty iFunc object
• ndims d = ndims(s) : get the dimensionality of iFunc object
• ones s = ones(s,N,M,P,...) : initialize an iFunc array
• plot h = plot(model, parameters, axes, ...) plot a model
• zeros s = zeros(s,N,M,P,...) : initialize an iFunc array

Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1