blob: 1246f8803f3f0b887f83f79586575f8c1a719c82 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Wed Oct 24 04:20:49 EDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DatasetFactory (The Eclipse January API Documentation)</title>
<meta name="date" content="2018-10-24">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DatasetFactory (The Eclipse January API Documentation)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DatasetFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/eclipse/january/dataset/DatasetUtils.html" title="class in org.eclipse.january.dataset"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/january/dataset/DatasetFactory.html" target="_top">Frames</a></li>
<li><a href="DatasetFactory.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.eclipse.january.dataset</div>
<h2 title="Class DatasetFactory" class="title">Class DatasetFactory</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.eclipse.january.dataset.DatasetFactory</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.19">DatasetFactory</a>
extends <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#DatasetFactory()">DatasetFactory</a></strong>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#compoundZeros(int,%20java.lang.Class,%20int...)">compoundZeros</a></strong>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#compoundZeros(int,%20int[],%20int)">compoundZeros</a></strong>(int&nbsp;itemSize,
int[]&nbsp;shape,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#compoundZeros(int,%20java.lang.Class,%20int...)"><code>compoundZeros(int, Class, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createComplexDataset(java.lang.Class,%20java.lang.Object,%20java.lang.Object)">createComplexDataset</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;real,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;imag)</code>
<div class="block">Create complex dataset of given class from real and imaginary parts</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createComplexDataset(int,%20java.lang.Object,%20java.lang.Object)">createComplexDataset</a></strong>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;real,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;imag)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createComplexDataset(java.lang.Class,%20java.lang.Object,%20java.lang.Object)"><code>createComplexDataset(Class, Object, Object)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createCompoundDataset(java.lang.Class,%20java.lang.Object...)">createCompoundDataset</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;objects)</code>
<div class="block">Create compound dataset of given class from given parts</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createCompoundDataset(int,%20java.lang.Object...)">createCompoundDataset</a></strong>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;objects)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createCompoundDataset(java.lang.Class,%20java.lang.Object...)"><code>createCompoundDataset(Class, Object...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createCompoundDataset(java.lang.Object...)">createCompoundDataset</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;objects)</code>
<div class="block">Create compound dataset of given type from given parts</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromList(java.lang.Class,%20java.util.List)">createFromList</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;?&gt;&nbsp;objectList)</code>
<div class="block">Create dataset of given class from list</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromList(int,%20java.util.List)">createFromList</a></strong>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;?&gt;&nbsp;objectList)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromList(java.lang.Class,%20java.util.List)"><code>createFromList(Class, List)</code></a></i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromList(java.util.List)">createFromList</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;?&gt;&nbsp;objectList)</code>
<div class="block">Create dataset of appropriate type from list</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(boolean,%20java.lang.Object)">createFromObject</a></strong>(boolean&nbsp;isUnsigned,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block">Create a dataset from object (automatically detect dataset type)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Class,%20java.lang.Object)">createFromObject</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block">Create a dataset from object</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Class,%20java.lang.Object,%20int...)">createFromObject</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</code>
<div class="block">Create a dataset from object</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(int,%20java.lang.Class,%20java.lang.Object,%20int...)">createFromObject</a></strong>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</code>
<div class="block">Create a compound dataset from object</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(int,%20int,%20java.lang.Object,%20int...)">createFromObject</a></strong>(int&nbsp;itemSize,
int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(int,%20java.lang.Class,%20java.lang.Object,%20int...)"><code>createFromObject(int, Class, Object, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(int,%20java.lang.Object)">createFromObject</a></strong>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Class,%20java.lang.Object,%20int...)"><code>createFromObject(Class, Object, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(int,%20java.lang.Object,%20int...)">createFromObject</a></strong>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Class,%20java.lang.Object,%20int...)"><code>createFromObject(Class, Object, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Object)">createFromObject</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</code>
<div class="block">Create a dataset from object (automatically detect dataset type)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Object,%20int...)">createFromObject</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</code>
<div class="block">Create a dataset from object (automatically detect dataset type)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLinearSpace(java.lang.Class,%20double,%20double,%20int)">createLinearSpace</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
int&nbsp;length)</code>
<div class="block">Create a 1D dataset of linearly spaced values in closed interval</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLinearSpace(double,%20double,%20int,%20int)">createLinearSpace</a></strong>(double&nbsp;start,
double&nbsp;stop,
int&nbsp;length,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLinearSpace(java.lang.Class,%20double,%20double,%20int)"><code>createLinearSpace(Class, double, double, int)</code></a></i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLogSpace(java.lang.Class,%20double,%20double,%20int,%20double)">createLogSpace</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
int&nbsp;length,
double&nbsp;base)</code>
<div class="block">Create a 1D dataset of logarithmically spaced values in closed interval.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLogSpace(double,%20double,%20int,%20double,%20int)">createLogSpace</a></strong>(double&nbsp;start,
double&nbsp;stop,
int&nbsp;length,
double&nbsp;base,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLogSpace(java.lang.Class,%20double,%20double,%20int,%20double)"><code>createLogSpace(Class, double, double, int, double)</code></a></i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double)">createRange</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;stop)</code>
<div class="block">Create dataset with items ranging from 0 up to given stop in steps of 1</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)">createRange</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
double&nbsp;step)</code>
<div class="block">Create dataset with items ranging from given start up to given stop in given steps</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(double)">createRange</a></strong>(double&nbsp;stop)</code>
<div class="block">Create dataset with items ranging from 0 up to given stop in steps of 1</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(double,%20double,%20double)">createRange</a></strong>(double&nbsp;start,
double&nbsp;stop,
double&nbsp;step)</code>
<div class="block">Create dataset with items ranging from given start up to given stop in given steps</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(double,%20double,%20double,%20int)">createRange</a></strong>(double&nbsp;start,
double&nbsp;stop,
double&nbsp;step,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(double,%20int)">createRange</a></strong>(double&nbsp;stop,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double)"><code>createRange(Class, double)</code></a></i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(int,%20java.lang.Class,%20double)">createRange</a></strong>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;stop)</code>
<div class="block">Create compound dataset with items ranging from 0 up to given stop in steps of 1</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(int,%20java.lang.Class,%20double,%20double,%20double)">createRange</a></strong>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
double&nbsp;step)</code>
<div class="block">Create compound dataset with items ranging from given start up to given stop in given steps</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(int,%20double,%20double,%20double,%20int)">createRange</a></strong>(int&nbsp;itemSize,
double&nbsp;start,
double&nbsp;stop,
double&nbsp;step,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(int,%20double,%20int)">createRange</a></strong>(int&nbsp;itemSize,
double&nbsp;stop,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(java.lang.Class,%20int...)">ones</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(org.eclipse.january.dataset.Dataset,%20java.lang.Class)">ones</a></strong>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(org.eclipse.january.dataset.Dataset,%20int)">ones</a></strong>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(int...)">ones</a></strong>(int...&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(int[],%20int)">ones</a></strong>(int[]&nbsp;shape,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(java.lang.Class,%20int...)"><code>ones(Class, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(int,%20java.lang.Class,%20int...)">ones</a></strong>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(int,%20int[],%20int)">ones</a></strong>(int&nbsp;itemSize,
int[]&nbsp;shape,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(java.lang.Class,%20int...)"><code>ones(Class, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(T)">ones</a></strong>(T&nbsp;dataset)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(java.lang.Class,%20int...)">zeros</a></strong>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(org.eclipse.january.dataset.Dataset,%20java.lang.Class)">zeros</a></strong>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(org.eclipse.january.dataset.Dataset,%20int)">zeros</a></strong>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(org.eclipse.january.dataset.Dataset,%20java.lang.Class)"><code>zeros(Dataset, Class)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(int...)">zeros</a></strong>(int...&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(int[],%20int)">zeros</a></strong>(int[]&nbsp;shape,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(java.lang.Class,%20int...)"><code>zeros(Class, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(int,%20java.lang.Class,%20int...)">zeros</a></strong>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(int,%20int[],%20int)">zeros</a></strong>(int&nbsp;itemSize,
int[]&nbsp;shape,
int&nbsp;dtype)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(int,%20java.lang.Class,%20int...)"><code>zeros(int, Class, int...)</code></a></i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;<br>T</code></td>
<td class="colLast"><code><strong><a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(T)">zeros</a></strong>(T&nbsp;dataset)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DatasetFactory()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DatasetFactory</h4>
<pre>public&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.19">DatasetFactory</a>()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="createRange(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.26">createRange</a>(double&nbsp;stop)</pre>
<div class="block">Create dataset with items ranging from 0 up to given stop in steps of 1</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stop</code> - stop value is <strong>not</strong> included</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new double dataset of given shape and type, filled with values determined by parameters</dd></dl>
</li>
</ul>
<a name="createRange(double, double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.38">createRange</a>(double&nbsp;start,
double&nbsp;stop,
double&nbsp;step)</pre>
<div class="block">Create dataset with items ranging from given start up to given stop in given steps</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd><dd><code>step</code> - spacing between items</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new 1D dataset of given type, filled with values determined by parameters</dd><dt><span class="strong">Since:</span></dt>
<dd>2.1</dd></dl>
</li>
</ul>
<a name="createRange(double, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.52">createRange</a>(double&nbsp;stop,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double)"><code>createRange(Class, double)</code></a></i></div>
<div class="block">Create dataset with items ranging from 0 up to given stop in steps of 1</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stop</code> - stop value is <strong>not</strong> included</dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given shape and type, filled with values determined by parameters</dd></dl>
</li>
</ul>
<a name="createRange(double, double, double, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.68">createRange</a>(double&nbsp;start,
double&nbsp;stop,
double&nbsp;step,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
<div class="block">Create dataset with items ranging from given start up to given stop in given steps</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd><dd><code>step</code> - spacing between items</dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new 1D dataset of given type, filled with values determined by parameters</dd></dl>
</li>
</ul>
<a name="createRange(int, double, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.107">createRange</a>(int&nbsp;itemSize,
double&nbsp;stop,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
<div class="block">Create compound dataset with items of given size ranging from 0 up to given stop in steps of 1</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given shape and type, filled with values determined by parameters</dd></dl>
</li>
</ul>
<a name="createRange(int, double, double, double, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.124">createRange</a>(int&nbsp;itemSize,
double&nbsp;start,
double&nbsp;stop,
double&nbsp;step,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
<div class="block">Create compound dataset with items of given size ranging from given start up to given stop in given steps</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd><dd><code>step</code> - spacing between items</dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new 1D dataset of given type, filled with values determined by parameters</dd></dl>
</li>
</ul>
<a name="createFromObject(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.174">createFromObject</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block">Create a dataset from object (automatically detect dataset type)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>obj</code> - can be Java list, array or Number</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd></dl>
</li>
</ul>
<a name="createFromObject(java.lang.Object, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.186">createFromObject</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</pre>
<div class="block">Create a dataset from object (automatically detect dataset type)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>obj</code> - can be Java list, array or Number</dd><dd><code>shape</code> - can be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd></dl>
</li>
</ul>
<a name="createFromObject(boolean, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.210">createFromObject</a>(boolean&nbsp;isUnsigned,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block">Create a dataset from object (automatically detect dataset type)</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>isUnsigned</code> - if true, interpret integer values as unsigned by increasing element bit width if required</dd><dd><code>obj</code> - can be a Java list, array or Number</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd></dl>
</li>
</ul>
<a name="createFromObject(int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.230">createFromObject</a>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Class,%20java.lang.Object,%20int...)"><code>createFromObject(Class, Object, int...)</code></a></i></div>
<div class="block">Create a dataset from object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dtype</code> - </dd><dd><code>obj</code> - can be a Java list, array or Number</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if dataset type is not known</dd></dl>
</li>
</ul>
<a name="createFromObject(int, java.lang.Object, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.247">createFromObject</a>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(java.lang.Class,%20java.lang.Object,%20int...)"><code>createFromObject(Class, Object, int...)</code></a></i></div>
<div class="block">Create a dataset from object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dtype</code> - </dd><dd><code>obj</code> - can be a Java list, array or Number</dd><dd><code>shape</code> - can be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if dataset type is not known</dd></dl>
</li>
</ul>
<a name="createFromObject(int, int, java.lang.Object, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.265">createFromObject</a>(int&nbsp;itemSize,
int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromObject(int,%20java.lang.Class,%20java.lang.Object,%20int...)"><code>createFromObject(int, Class, Object, int...)</code></a></i></div>
<div class="block">Create a dataset from object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>dtype</code> - </dd><dd><code>obj</code> - can be a Java list, array or Number</dd><dd><code>shape</code> - can be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if dataset type is not known</dd></dl>
</li>
</ul>
<a name="createFromList(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromList</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.389">createFromList</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;?&gt;&nbsp;objectList)</pre>
<div class="block">Create dataset of appropriate type from list</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objectList</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset filled with values from list</dd></dl>
</li>
</ul>
<a name="createFromList(int, java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromList</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.425">createFromList</a>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;?&gt;&nbsp;objectList)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createFromList(java.lang.Class,%20java.util.List)"><code>createFromList(Class, List)</code></a></i></div>
<div class="block">Create dataset of given type from list</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dtype</code> - </dd><dd><code>objectList</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset filled with values from list</dd></dl>
</li>
</ul>
<a name="createCompoundDataset(java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCompoundDataset</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.441">createCompoundDataset</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;objects)</pre>
<div class="block">Create compound dataset of given type from given parts</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>objects</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>compound dataset</dd></dl>
</li>
</ul>
<a name="createCompoundDataset(int, java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCompoundDataset</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.460">createCompoundDataset</a>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;objects)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createCompoundDataset(java.lang.Class,%20java.lang.Object...)"><code>createCompoundDataset(Class, Object...)</code></a></i></div>
<div class="block">Create compound dataset of given type from given parts</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dtype</code> - </dd><dd><code>objects</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>compound dataset</dd></dl>
</li>
</ul>
<a name="createComplexDataset(int, java.lang.Object, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createComplexDataset</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.480">createComplexDataset</a>(int&nbsp;dtype,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;real,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;imag)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createComplexDataset(java.lang.Class,%20java.lang.Object,%20java.lang.Object)"><code>createComplexDataset(Class, Object, Object)</code></a></i></div>
<div class="block">Create complex dataset of given type from real and imaginary parts</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dtype</code> - </dd><dd><code>real</code> - </dd><dd><code>imag</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>complex dataset</dd></dl>
</li>
</ul>
<a name="zeros(int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.495">zeros</a>(int...&nbsp;shape)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>shape</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new double dataset of given shape, filled with zeros</dd></dl>
</li>
</ul>
<a name="zeros(int[], int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.508">zeros</a>(int[]&nbsp;shape,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(java.lang.Class,%20int...)"><code>zeros(Class, int...)</code></a></i></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>shape</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given shape and type, filled with zeros</dd></dl>
</li>
</ul>
<a name="zeros(int, int[], int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.557">zeros</a>(int&nbsp;itemSize,
int[]&nbsp;shape,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(int,%20java.lang.Class,%20int...)"><code>zeros(int, Class, int...)</code></a></i></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - if equal to 1, then non-compound dataset is returned</dd><dd><code>shape</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given item size, shape and type, filled with zeros</dd></dl>
</li>
</ul>
<a name="compoundZeros(int, int[], int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compoundZeros</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.575">compoundZeros</a>(int&nbsp;itemSize,
int[]&nbsp;shape,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#compoundZeros(int,%20java.lang.Class,%20int...)"><code>compoundZeros(int, Class, int...)</code></a></i></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>shape</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given item size, shape and type, filled with zeros</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="zeros(org.eclipse.january.dataset.Dataset)">
<!-- -->
</a><a name="zeros(T)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.619">zeros</a>(T&nbsp;dataset)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataset</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of same shape and type as input dataset, filled with zeros</dd></dl>
</li>
</ul>
<a name="zeros(org.eclipse.january.dataset.Dataset, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.636">zeros</a>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#zeros(org.eclipse.january.dataset.Dataset,%20java.lang.Class)"><code>zeros(Dataset, Class)</code></a></i></div>
<div class="block">Create a new dataset of same shape as input dataset, filled with zeros. If dtype is not
explicitly compound then an elemental dataset is created</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataset</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset</dd></dl>
</li>
</ul>
<a name="ones(org.eclipse.january.dataset.Dataset)">
<!-- -->
</a><a name="ones(T)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.648">ones</a>(T&nbsp;dataset)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataset</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of same shape and type as input dataset, filled with ones</dd></dl>
</li>
</ul>
<a name="ones(org.eclipse.january.dataset.Dataset, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.663">ones</a>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createRange(java.lang.Class,%20double,%20double,%20double)"><code>createRange(Class, double, double, double)</code></a></i></div>
<div class="block">Create a new dataset of same shape as input dataset, filled with ones. If dtype is not
explicitly compound then an elemental dataset is created</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataset</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset</dd></dl>
</li>
</ul>
<a name="ones(int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre>public static&nbsp;<a href="../../../../org/eclipse/january/dataset/DoubleDataset.html" title="class in org.eclipse.january.dataset">DoubleDataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.674">ones</a>(int...&nbsp;shape)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>shape</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new double dataset of given shape, filled with ones</dd></dl>
</li>
</ul>
<a name="ones(int[], int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.687">ones</a>(int[]&nbsp;shape,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(java.lang.Class,%20int...)"><code>ones(Class, int...)</code></a></i></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>shape</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given shape and type, filled with ones</dd></dl>
</li>
</ul>
<a name="ones(int, int[], int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.724">ones</a>(int&nbsp;itemSize,
int[]&nbsp;shape,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#ones(java.lang.Class,%20int...)"><code>ones(Class, int...)</code></a></i></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - if equal to 1, then non-compound dataset is returned</dd><dd><code>shape</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given item size, shape and type, filled with ones</dd></dl>
</li>
</ul>
<a name="createLinearSpace(double, double, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLinearSpace</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.779">createLinearSpace</a>(double&nbsp;start,
double&nbsp;stop,
int&nbsp;length,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLinearSpace(java.lang.Class,%20double,%20double,%20int)"><code>createLinearSpace(Class, double, double, int)</code></a></i></div>
<div class="block">Create a 1D dataset of linearly spaced values in closed interval</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is included</dd><dd><code>length</code> - number of points</dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset with linearly spaced values</dd></dl>
</li>
</ul>
<a name="createLogSpace(double, double, int, double, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLogSpace</h4>
<pre><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public static&nbsp;<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.815">createLogSpace</a>(double&nbsp;start,
double&nbsp;stop,
int&nbsp;length,
double&nbsp;base,
int&nbsp;dtype)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>Please use the class-based methods in DatasetFactory,
such as <a href="../../../../org/eclipse/january/dataset/DatasetFactory.html#createLogSpace(java.lang.Class,%20double,%20double,%20int,%20double)"><code>createLogSpace(Class, double, double, int, double)</code></a></i></div>
<div class="block">Create a 1D dataset of logarithmically spaced values in closed interval. The base value is used to
determine the factor between values: factor = base ** step, where step is the interval between linearly
spaced sequence of points</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is included</dd><dd><code>length</code> - number of points</dd><dd><code>base</code> - </dd><dd><code>dtype</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset with logarithmically spaced values</dd></dl>
</li>
</ul>
<a name="createRange(java.lang.Class, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.841">createRange</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;stop)</pre>
<div class="block">Create dataset with items ranging from 0 up to given stop in steps of 1</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - </dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given shape and type, filled with values determined by parameters</dd></dl>
</li>
</ul>
<a name="createRange(java.lang.Class, double, double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.854">createRange</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
double&nbsp;step)</pre>
<div class="block">Create dataset with items ranging from given start up to given stop in given steps</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd><dd><code>step</code> - spacing between items</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new 1D dataset of given class, filled with values determined by parameters</dd></dl>
</li>
</ul>
<a name="createRange(int, java.lang.Class, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.867">createRange</a>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;stop)</pre>
<div class="block">Create compound dataset with items ranging from 0 up to given stop in steps of 1</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>clazz</code> - compound dataset class</dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new 1D dataset of given class, filled with values determined by parameters</dd><dt><span class="strong">Since:</span></dt>
<dd>2.1</dd></dl>
</li>
</ul>
<a name="createRange(int, java.lang.Class, double, double, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createRange</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.882">createRange</a>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
double&nbsp;step)</pre>
<div class="block">Create compound dataset with items ranging from given start up to given stop in given steps</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>clazz</code> - compound dataset class</dd><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is <strong>not</strong> included</dd><dd><code>step</code> - spacing between items</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new 1D dataset of given class, filled with values determined by parameters</dd><dt><span class="strong">Since:</span></dt>
<dd>2.1</dd></dl>
</li>
</ul>
<a name="createFromObject(java.lang.Class, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.896">createFromObject</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
<div class="block">Create a dataset from object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>obj</code> - can be a Java list, array or Number</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if dataset class is not known</dd><dt><span class="strong">Since:</span></dt>
<dd>2.1</dd></dl>
</li>
</ul>
<a name="createFromObject(java.lang.Class, java.lang.Object, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.911">createFromObject</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</pre>
<div class="block">Create a dataset from object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>obj</code> - can be a Java list, array or Number</dd><dd><code>shape</code> - can be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if dataset type is not known</dd></dl>
</li>
</ul>
<a name="createFromObject(int, java.lang.Class, java.lang.Object, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromObject</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.926">createFromObject</a>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj,
int...&nbsp;shape)</pre>
<div class="block">Create a compound dataset from object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>clazz</code> - dataset class</dd><dd><code>obj</code> - can be a Java list, array or Number</dd><dd><code>shape</code> - can be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if dataset type is not known</dd></dl>
</li>
</ul>
<a name="createFromList(java.lang.Class, java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createFromList</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.938">createFromList</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;?&gt;&nbsp;objectList)</pre>
<div class="block">Create dataset of given class from list</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>objectList</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset filled with values from list</dd></dl>
</li>
</ul>
<a name="createCompoundDataset(java.lang.Class, java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCompoundDataset</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.950">createCompoundDataset</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;objects)</pre>
<div class="block">Create compound dataset of given class from given parts</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - </dd><dd><code>objects</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>compound dataset</dd></dl>
</li>
</ul>
<a name="createComplexDataset(java.lang.Class, java.lang.Object, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createComplexDataset</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.963">createComplexDataset</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;real,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;imag)</pre>
<div class="block">Create complex dataset of given class from real and imaginary parts</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>real</code> - </dd><dd><code>imag</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>complex dataset</dd></dl>
</li>
</ul>
<a name="zeros(java.lang.Class, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.973">zeros</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>shape</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given shape and class, filled with zeros</dd></dl>
</li>
</ul>
<a name="zeros(int, java.lang.Class, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.985">zeros</a>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - if equal to 1, then non-compound dataset is returned</dd><dd><code>clazz</code> - dataset class</dd><dd><code>shape</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given item size, shape and class, filled with zeros</dd></dl>
</li>
</ul>
<a name="zeros(org.eclipse.january.dataset.Dataset, java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>zeros</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.995">zeros</a>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataset</code> - </dd><dd><code>clazz</code> - dataset class</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given class with same shape as input dataset, filled with zeros</dd></dl>
</li>
</ul>
<a name="compoundZeros(int, java.lang.Class, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>compoundZeros</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/CompoundDataset.html" title="interface in org.eclipse.january.dataset">CompoundDataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.1007">compoundZeros</a>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - </dd><dd><code>clazz</code> - compound dataset class</dd><dd><code>shape</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new compound dataset of given item size, shape and class, filled with zeros</dd><dt><span class="strong">Since:</span></dt>
<dd>2.0</dd></dl>
</li>
</ul>
<a name="ones(java.lang.Class, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.1017">ones</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>shape</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given shape and class, filled with ones</dd></dl>
</li>
</ul>
<a name="ones(int, java.lang.Class, int...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.1029">ones</a>(int&nbsp;itemSize,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
int...&nbsp;shape)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>itemSize</code> - if equal to 1, then non-compound dataset is returned</dd><dd><code>clazz</code> - dataset class</dd><dd><code>shape</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given item size, shape and class, filled with ones</dd></dl>
</li>
</ul>
<a name="ones(org.eclipse.january.dataset.Dataset, java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ones</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.1039">ones</a>(<a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz)</pre>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataset</code> - </dd><dd><code>clazz</code> - dataset class</dd>
<dt><span class="strong">Returns:</span></dt><dd>a new dataset of given class with same shape as input dataset, filled with ones</dd></dl>
</li>
</ul>
<a name="createLinearSpace(java.lang.Class, double, double, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createLinearSpace</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.1053">createLinearSpace</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
int&nbsp;length)</pre>
<div class="block">Create a 1D dataset of linearly spaced values in closed interval</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>clazz</code> - dataset class</dd><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is included</dd><dd><code>length</code> - number of points</dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset with linearly spaced values</dd></dl>
</li>
</ul>
<a name="createLogSpace(java.lang.Class, double, double, int, double)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createLogSpace</h4>
<pre>public static&nbsp;&lt;T extends <a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset">Dataset</a>&gt;&nbsp;T&nbsp;<a href="../../../../src-html/org/eclipse/january/dataset/DatasetFactory.html#line.1069">createLogSpace</a>(<a href="https://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;T&gt;&nbsp;clazz,
double&nbsp;start,
double&nbsp;stop,
int&nbsp;length,
double&nbsp;base)</pre>
<div class="block">Create a 1D dataset of logarithmically spaced values in closed interval. The base value is used to
determine the factor between values: factor = base ** step, where step is the interval between linearly
spaced sequence of points</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>start</code> - </dd><dd><code>stop</code> - stop value is included</dd><dd><code>length</code> - number of points</dd><dd><code>base</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd>dataset with logarithmically spaced values</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/DatasetFactory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/eclipse/january/dataset/Dataset.html" title="interface in org.eclipse.january.dataset"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/eclipse/january/dataset/DatasetUtils.html" title="class in org.eclipse.january.dataset"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/eclipse/january/dataset/DatasetFactory.html" target="_top">Frames</a></li>
<li><a href="DatasetFactory.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2018 <a href="http://www.eclipse.org/">Eclipse Foundation</a>. All rights reserved.</small></p>
</body>
</html>