## zeros

zeros( int len0 ) → org.das2.qds.WritableDataSet

return new dataset filled with zeros.

### Parameters

len0 - an int

### Returns:

rank 1 dataset

### See Also:

fltarr(int) fltarr, which stores the data in 4-byte floats.
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## zeros

zeros( int len0, int len1 ) → org.das2.qds.WritableDataSet

return new dataset filled with zeros.

### Parameters

len0 - an int
len1 - an int

### Returns:

rank 2 dataset
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## zeros

zeros( int len0, int len1, int len2 ) → org.das2.qds.WritableDataSet

return new dataset filled with zeros.

### Parameters

len0 - an int
len1 - an int
len2 - an int

### Returns:

rank 3 dataset
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## zeros

zeros( int len0, int len1, int len2, int len3 ) → org.das2.qds.WritableDataSet

return new dataset filled with zeros.

### Parameters

len0 - an int
len1 - an int
len2 - an int
len3 - an int

### Returns:

rank 4 dataset
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## zeros

zeros( QDataSet ds ) → org.das2.qds.WritableDataSet

return a new dataset filled with zeroes that has the same geometry as the given dataset. Only supports QUBE datasets.

### Parameters

ds - a QDataSet

### Returns:

a new dataset with filled with zeroes with the same geometry.
[search for examples] [view on GitHub] [view on old javadoc] [view source]