Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.ExtLibs/HeuristicLab.AutoDiff/1.0/AutoDiff-1.0/Compiled/Constant.cs @ 13400

Last change on this file since 13400 was 8703, checked in by gkronber, 12 years ago

#1960 added HL wrapper plugin for AutoDiff

File size: 404 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace 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.