mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-06 10:36:12 +03:00
65 lines
2.2 KiB
Plaintext
65 lines
2.2 KiB
Plaintext
-- Created on: 1991-05-13
|
|
-- Created by: Laurent PAINNOT
|
|
-- Copyright (c) 1991-1999 Matra Datavision
|
|
-- Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
--
|
|
-- This file is part of Open CASCADE Technology software library.
|
|
--
|
|
-- This library is free software; you can redistribute it and/or modify it under
|
|
-- the terms of the GNU Lesser General Public License version 2.1 as published
|
|
-- by the Free Software Foundation, with special exception defined in the file
|
|
-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
-- distribution for complete text of the license and disclaimer of any warranty.
|
|
--
|
|
-- Alternatively, this file may be used under the terms of Open CASCADE
|
|
-- commercial license or contractual agreement.
|
|
|
|
deferred class MultipleVarFunctionWithGradient from math
|
|
|
|
inherits MultipleVarFunction
|
|
---Purpose:
|
|
-- The abstract class MultipleVarFunctionWithGradient
|
|
-- describes the virtual functions associated with a multiple variable function.
|
|
uses Vector from math
|
|
|
|
is
|
|
|
|
Delete(me:out) is redefined virtual;
|
|
---C++: alias "Standard_EXPORT virtual ~math_MultipleVarFunctionWithGradient(){Delete();}"
|
|
|
|
NbVariables(me)
|
|
---Purpose: Returns the number of variables of the function.
|
|
|
|
returns Integer
|
|
is deferred;
|
|
|
|
|
|
Value(me: in out; X: Vector; F: out Real)
|
|
---Purpose: Computes the values of the Functions <F> for the variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean
|
|
is deferred;
|
|
|
|
|
|
Gradient(me: in out; X: Vector; G: out Vector)
|
|
---Purpose: Computes the gradient <G> of the functions for the variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean
|
|
is deferred;
|
|
|
|
|
|
Values(me: in out; X: Vector; F: out Real; G: out Vector)
|
|
---Purpose: computes the value <F> and the gradient <G> of the
|
|
-- functions for the variable <X>.
|
|
-- Returns True if the computation was done successfully,
|
|
-- False otherwise.
|
|
|
|
returns Boolean
|
|
is deferred;
|
|
|
|
end MultipleVarFunctionWithGradient;
|