Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 12474 invoked from network); 15 Apr 2008 13:23:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 13:23:51 -0000 Received: (qmail 55403 invoked by uid 500); 15 Apr 2008 13:23:51 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 55071 invoked by uid 500); 15 Apr 2008 13:23:50 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 55059 invoked by uid 99); 15 Apr 2008 13:23:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 06:23:50 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 13:23:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 408741A9832; Tue, 15 Apr 2008 06:23:21 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r648241 - in /commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store: ./ FetchDifferentiator.java Date: Tue, 15 Apr 2008 13:23:20 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080415132326.408741A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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