You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2008/04/15 15:23:20 UTC
svn commit: r648241 - in
/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store:
./ FetchDifferentiator.java
Author: luc
Date: Tue Apr 15 06:23:11 2008
New Revision: 648241
URL: http://svn.apache.org/viewvc?rev=648241&view=rev
Log:
handling of already differentiated classes
(there will be real code there in the future ...)
Added:
commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/
commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java (with props)
Added: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java?rev=648241&view=auto
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java (added)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java Tue Apr 15 06:23:11 2008
@@ -0,0 +1,38 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.nabla.store;
+
+import org.apache.commons.nabla.core.DifferentiationException;
+import org.apache.commons.nabla.core.UnivariateDerivative;
+import org.apache.commons.nabla.core.UnivariateDifferentiable;
+import org.apache.commons.nabla.core.UnivariateDifferentiator;
+
+/** Differentiator that fetches classes already differentiated by
+ * {@link org.apache.commons.nabla.store.AutomaticDifferentiator}.
+ * @see org.apache.commons.nabla.store.AutomaticDifferentiator
+ */
+public class FetchDifferentiator implements UnivariateDifferentiator {
+
+ /** {@inheritDoc} */
+ public UnivariateDerivative differentiate(final UnivariateDifferentiable d)
+ throws DifferentiationException {
+
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
Propchange: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java
------------------------------------------------------------------------------
svn:eol-style = native