source:
trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.AutoDiff/1.0/AutoDiff-1.0/Compiled/Constant.cs
@
10810
Last change on this file since 10810 was 8703, checked in by gkronber, 12 years ago | |
---|---|
File size: 404 bytes |
Rev | Line | |
---|---|---|
[8703] | 1 | using System; |
2 | using System.Collections.Generic; | |
3 | using System.Linq; | |
4 | using System.Text; | |
5 | ||
6 | namespace AutoDiff.Compiled | |
7 | { | |
8 | class Constant : TapeElement | |
9 | { | |
10 | public Constant(double value) | |
11 | { | |
12 | Value = value; | |
13 | Adjoint = 0; | |
14 | } | |
15 | ||
16 | public override void Accept(ITapeVisitor visitor) | |
17 | { | |
18 | visitor.Visit(this); | |
19 | } | |
20 | } | |
21 | } |
Note: See TracBrowser
for help on using the repository browser.