forked from tsai/mathnet-numerics
18 changed files with 512 additions and 12 deletions
@ -0,0 +1,51 @@ |
|||
// <copyright file="MklLinearAlgebraProviderTests.cs" company="Math.NET">
|
|||
// Math.NET Numerics, part of the Math.NET Project
|
|||
// http://numerics.mathdotnet.com
|
|||
// http://github.com/mathnet/mathnet-numerics
|
|||
// http://mathnetnumerics.codeplex.com
|
|||
//
|
|||
// Copyright (c) 2009-2010 Math.NET
|
|||
//
|
|||
// Permission is hereby granted, free of charge, to any person
|
|||
// obtaining a copy of this software and associated documentation
|
|||
// files (the "Software"), to deal in the Software without
|
|||
// restriction, including without limitation the rights to use,
|
|||
// copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|||
// copies of the Software, and to permit persons to whom the
|
|||
// Software is furnished to do so, subject to the following
|
|||
// conditions:
|
|||
//
|
|||
// The above copyright notice and this permission notice shall be
|
|||
// included in all copies or substantial portions of the Software.
|
|||
//
|
|||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|||
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|||
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|||
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|||
// OTHER DEALINGS IN THE SOFTWARE.
|
|||
// </copyright>
|
|||
|
|||
using MathNet.Numerics.UnitTests.LinearAlgebraProviderTests.Complex; |
|||
|
|||
namespace MathNet.Numerics.GotoBlasWrapperTests.LinearAlgebra.Complex |
|||
{ |
|||
using NUnit.Framework; |
|||
|
|||
/// <summary>
|
|||
/// Unit test container for the GotoBLAS2 linear algebra provider.
|
|||
/// </summary>
|
|||
[TestFixture] |
|||
public class GotoBlasLinearAlgebraProviderTests : LinearAlgebraProviderTests |
|||
{ |
|||
/// <summary>
|
|||
/// Initializes a new instance of the <see cref="GotoBlasLinearAlgebraProviderTests"/> class.
|
|||
/// </summary>
|
|||
public GotoBlasLinearAlgebraProviderTests() |
|||
{ |
|||
Control.LinearAlgebraProvider = new Algorithms.LinearAlgebra.GotoBlas.GotoBlasLinearAlgebraProvider(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,51 @@ |
|||
// <copyright file="MklLinearAlgebraProviderTests.cs" company="Math.NET">
|
|||
// Math.NET Numerics, part of the Math.NET Project
|
|||
// http://numerics.mathdotnet.com
|
|||
// http://github.com/mathnet/mathnet-numerics
|
|||
// http://mathnetnumerics.codeplex.com
|
|||
//
|
|||
// Copyright (c) 2009-2010 Math.NET
|
|||
//
|
|||
// Permission is hereby granted, free of charge, to any person
|
|||
// obtaining a copy of this software and associated documentation
|
|||
// files (the "Software"), to deal in the Software without
|
|||
// restriction, including without limitation the rights to use,
|
|||
// copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|||
// copies of the Software, and to permit persons to whom the
|
|||
// Software is furnished to do so, subject to the following
|
|||
// conditions:
|
|||
//
|
|||
// The above copyright notice and this permission notice shall be
|
|||
// included in all copies or substantial portions of the Software.
|
|||
//
|
|||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|||
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|||
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|||
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|||
// OTHER DEALINGS IN THE SOFTWARE.
|
|||
// </copyright>
|
|||
|
|||
using MathNet.Numerics.UnitTests.LinearAlgebraProviderTests.Complex32; |
|||
|
|||
namespace MathNet.Numerics.GotoBlasWrapperTests.LinearAlgebra.Complex32 |
|||
{ |
|||
using NUnit.Framework; |
|||
|
|||
/// <summary>
|
|||
/// Unit test container for the GotoBLAS2 linear algebra provider.
|
|||
/// </summary>
|
|||
[TestFixture] |
|||
public class GotoBlasLinearAlgebraProviderTests : LinearAlgebraProviderTests |
|||
{ |
|||
/// <summary>
|
|||
/// Initializes a new instance of the <see cref="GotoBlasLinearAlgebraProviderTests"/> class.
|
|||
/// </summary>
|
|||
public GotoBlasLinearAlgebraProviderTests() |
|||
{ |
|||
Control.LinearAlgebraProvider = new Algorithms.LinearAlgebra.GotoBlas.GotoBlasLinearAlgebraProvider(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,51 @@ |
|||
// <copyright file="MklLinearAlgebraProviderTests.cs" company="Math.NET">
|
|||
// Math.NET Numerics, part of the Math.NET Project
|
|||
// http://numerics.mathdotnet.com
|
|||
// http://github.com/mathnet/mathnet-numerics
|
|||
// http://mathnetnumerics.codeplex.com
|
|||
//
|
|||
// Copyright (c) 2009-2010 Math.NET
|
|||
//
|
|||
// Permission is hereby granted, free of charge, to any person
|
|||
// obtaining a copy of this software and associated documentation
|
|||
// files (the "Software"), to deal in the Software without
|
|||
// restriction, including without limitation the rights to use,
|
|||
// copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|||
// copies of the Software, and to permit persons to whom the
|
|||
// Software is furnished to do so, subject to the following
|
|||
// conditions:
|
|||
//
|
|||
// The above copyright notice and this permission notice shall be
|
|||
// included in all copies or substantial portions of the Software.
|
|||
//
|
|||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|||
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|||
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|||
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|||
// OTHER DEALINGS IN THE SOFTWARE.
|
|||
// </copyright>
|
|||
|
|||
using MathNet.Numerics.UnitTests.LinearAlgebraProviderTests.Double; |
|||
|
|||
namespace MathNet.Numerics.GotoBlasWrapperTests.LinearAlgebra.Double |
|||
{ |
|||
using NUnit.Framework; |
|||
|
|||
/// <summary>
|
|||
/// Unit test container for the GotoBLAS2 linear algebra provider.
|
|||
/// </summary>
|
|||
[TestFixture] |
|||
public class GotoBlasLinearAlgebraProviderTests : LinearAlgebraProviderTests |
|||
{ |
|||
/// <summary>
|
|||
/// Initializes a new instance of the <see cref="GotoBlasLinearAlgebraProviderTests"/> class.
|
|||
/// </summary>
|
|||
public GotoBlasLinearAlgebraProviderTests() |
|||
{ |
|||
Control.LinearAlgebraProvider = new Algorithms.LinearAlgebra.GotoBlas.GotoBlasLinearAlgebraProvider(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,120 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<PropertyGroup> |
|||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
|||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
|||
<ProductVersion>8.0.30703</ProductVersion> |
|||
<SchemaVersion>2.0</SchemaVersion> |
|||
<ProjectGuid>{56FFAB18-CAA6-4913-8123-610872BFD60A}</ProjectGuid> |
|||
<OutputType>Library</OutputType> |
|||
<AppDesignerFolder>Properties</AppDesignerFolder> |
|||
<RootNamespace>GotoBLAS2WrapperTests</RootNamespace> |
|||
<AssemblyName>GotoBLAS2WrapperTests</AssemblyName> |
|||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
|||
<FileAlignment>512</FileAlignment> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
|||
<DebugSymbols>true</DebugSymbols> |
|||
<DebugType>full</DebugType> |
|||
<Optimize>false</Optimize> |
|||
<OutputPath>bin\Debug\</OutputPath> |
|||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
|||
<DebugType>pdbonly</DebugType> |
|||
<Optimize>true</Optimize> |
|||
<OutputPath>bin\Release\</OutputPath> |
|||
<DefineConstants>TRACE</DefineConstants> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<WarningLevel>4</WarningLevel> |
|||
<PlatformTarget>AnyCPU</PlatformTarget> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> |
|||
<DebugSymbols>true</DebugSymbols> |
|||
<OutputPath>bin\x86\Debug\</OutputPath> |
|||
<DefineConstants>DEBUG;TRACE</DefineConstants> |
|||
<DebugType>full</DebugType> |
|||
<PlatformTarget>x86</PlatformTarget> |
|||
<CodeAnalysisLogFile>bin\Debug\GotoBLAS2WrapperTests.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> |
|||
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> |
|||
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|||
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> |
|||
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets> |
|||
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> |
|||
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
|||
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> |
|||
</PropertyGroup> |
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> |
|||
<OutputPath>bin\x86\Release\</OutputPath> |
|||
<DefineConstants>TRACE</DefineConstants> |
|||
<Optimize>true</Optimize> |
|||
<DebugType>pdbonly</DebugType> |
|||
<PlatformTarget>x86</PlatformTarget> |
|||
<CodeAnalysisLogFile>bin\Release\GotoBLAS2WrapperTests.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> |
|||
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> |
|||
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> |
|||
<ErrorReport>prompt</ErrorReport> |
|||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> |
|||
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> |
|||
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> |
|||
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> |
|||
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<Reference Include="MathNet.Numerics, Version=2011.3.29.268, Culture=neutral, PublicKeyToken=cd8b63ad3d691a37, processorArchitecture=MSIL"> |
|||
<SpecificVersion>False</SpecificVersion> |
|||
<HintPath>..\..\..\..\out\lib\Net40\MathNet.Numerics.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="nunit.framework"> |
|||
<HintPath>..\..\..\..\lib\NUnit.2.5.9\nunit.framework.dll</HintPath> |
|||
</Reference> |
|||
<Reference Include="System" /> |
|||
<Reference Include="System.Core" /> |
|||
<Reference Include="System.Numerics" /> |
|||
<Reference Include="System.Xml.Linq" /> |
|||
<Reference Include="System.Data.DataSetExtensions" /> |
|||
<Reference Include="Microsoft.CSharp" /> |
|||
<Reference Include="System.Data" /> |
|||
<Reference Include="System.Xml" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Compile Include="..\..\..\UnitTests\AssertHelpers.cs"> |
|||
<Link>AssertHelpers.cs</Link> |
|||
</Compile> |
|||
<Compile Include="..\..\..\unittests\linearalgebraprovidertests\complex32\LinearAlgebraProviderTests.cs"> |
|||
<Link>Complex32\LinearAlgebraProviderTests.cs</Link> |
|||
</Compile> |
|||
<Compile Include="..\..\..\unittests\linearalgebraprovidertests\complex\LinearAlgebraProviderTests.cs"> |
|||
<Link>Complex\LinearAlgebraProviderTests.cs</Link> |
|||
</Compile> |
|||
<Compile Include="..\..\..\unittests\linearalgebraprovidertests\double\LinearAlgebraProviderTests.cs"> |
|||
<Link>Double\LinearAlgebraProviderTests.cs</Link> |
|||
</Compile> |
|||
<Compile Include="..\..\..\unittests\linearalgebraprovidertests\single\LinearAlgebraProviderTests.cs"> |
|||
<Link>Single\LinearAlgebraProviderTests.cs</Link> |
|||
</Compile> |
|||
<Compile Include="Complex32\GotoBlasLinearAlgebraProviderTests.cs" /> |
|||
<Compile Include="Complex\GotoBlasLinearAlgebraProviderTests.cs" /> |
|||
<Compile Include="Double\GotoBlasLinearAlgebraProviderTests.cs" /> |
|||
<Compile Include="Properties\AssemblyInfo.cs" /> |
|||
<Compile Include="Single\GotoBlasLinearAlgebraProviderTests.cs" /> |
|||
</ItemGroup> |
|||
<ItemGroup> |
|||
<Content Include="..\x64\Release\MathNET.Numerics.GotoBLAS2.dll"> |
|||
<Link>MathNET.Numerics.GotoBLAS2.dll</Link> |
|||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
|||
</Content> |
|||
</ItemGroup> |
|||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
|||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
|||
Other similar extension points exist, see Microsoft.Common.targets. |
|||
<Target Name="BeforeBuild"> |
|||
</Target> |
|||
<Target Name="AfterBuild"> |
|||
</Target> |
|||
--> |
|||
</Project> |
|||
@ -0,0 +1,36 @@ |
|||
using System.Reflection; |
|||
using System.Runtime.CompilerServices; |
|||
using System.Runtime.InteropServices; |
|||
|
|||
// General Information about an assembly is controlled through the following
|
|||
// set of attributes. Change these attribute values to modify the information
|
|||
// associated with an assembly.
|
|||
[assembly: AssemblyTitle("GotoBLAS2WrapperTests")] |
|||
[assembly: AssemblyDescription("")] |
|||
[assembly: AssemblyConfiguration("")] |
|||
[assembly: AssemblyCompany("Microsoft")] |
|||
[assembly: AssemblyProduct("GotoBLAS2WrapperTests")] |
|||
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] |
|||
[assembly: AssemblyTrademark("")] |
|||
[assembly: AssemblyCulture("")] |
|||
|
|||
// Setting ComVisible to false makes the types in this assembly not visible
|
|||
// to COM components. If you need to access a type in this assembly from
|
|||
// COM, set the ComVisible attribute to true on that type.
|
|||
[assembly: ComVisible(false)] |
|||
|
|||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
|||
[assembly: Guid("eea98ed9-b5a4-4c81-ac6b-808eecd4bedf")] |
|||
|
|||
// Version information for an assembly consists of the following four values:
|
|||
//
|
|||
// Major Version
|
|||
// Minor Version
|
|||
// Build Number
|
|||
// Revision
|
|||
//
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
|||
// by using the '*' as shown below:
|
|||
// [assembly: AssemblyVersion("1.0.*")]
|
|||
[assembly: AssemblyVersion("1.0.0.0")] |
|||
[assembly: AssemblyFileVersion("1.0.0.0")] |
|||
@ -0,0 +1,51 @@ |
|||
// <copyright file="MklLinearAlgebraProviderTests.cs" company="Math.NET">
|
|||
// Math.NET Numerics, part of the Math.NET Project
|
|||
// http://numerics.mathdotnet.com
|
|||
// http://github.com/mathnet/mathnet-numerics
|
|||
// http://mathnetnumerics.codeplex.com
|
|||
//
|
|||
// Copyright (c) 2009-2010 Math.NET
|
|||
//
|
|||
// Permission is hereby granted, free of charge, to any person
|
|||
// obtaining a copy of this software and associated documentation
|
|||
// files (the "Software"), to deal in the Software without
|
|||
// restriction, including without limitation the rights to use,
|
|||
// copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|||
// copies of the Software, and to permit persons to whom the
|
|||
// Software is furnished to do so, subject to the following
|
|||
// conditions:
|
|||
//
|
|||
// The above copyright notice and this permission notice shall be
|
|||
// included in all copies or substantial portions of the Software.
|
|||
//
|
|||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|||
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|||
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|||
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|||
// OTHER DEALINGS IN THE SOFTWARE.
|
|||
// </copyright>
|
|||
|
|||
using MathNet.Numerics.UnitTests.LinearAlgebraProviderTests.Single; |
|||
|
|||
namespace MathNet.Numerics.GotoBlasWrapperTests.LinearAlgebra.Single |
|||
{ |
|||
using NUnit.Framework; |
|||
|
|||
/// <summary>
|
|||
/// Unit test container for the GotoBLAS2 linear algebra provider.
|
|||
/// </summary>
|
|||
[TestFixture] |
|||
public class GotoBlasLinearAlgebraProviderTests : LinearAlgebraProviderTests |
|||
{ |
|||
/// <summary>
|
|||
/// Initializes a new instance of the <see cref="GotoBlasLinearAlgebraProviderTests"/> class.
|
|||
/// </summary>
|
|||
public GotoBlasLinearAlgebraProviderTests() |
|||
{ |
|||
Control.LinearAlgebraProvider = new Algorithms.LinearAlgebra.GotoBlas.GotoBlasLinearAlgebraProvider(); |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,8 @@ |
|||
<#@ template language="C#" debug="true" #> |
|||
<#@ output extenstion="cs" #> |
|||
<# string library = "GotoBlas";#> |
|||
<# string title = "GotoBLAS2";#> |
|||
<# string dataType = "Common";#> |
|||
<#@ include file="..\native.header.include" #> |
|||
<#@ include file="..\native.common.include" #> |
|||
<#@ include file="..\native.footer.include" #> |
|||
@ -0,0 +1,12 @@ |
|||
<#@ template language="C#" debug="true" #> |
|||
<#@ output extenstion="cs" #> |
|||
<# string library = "GotoBlas";#> |
|||
<# string title = "GotoBLAS2";#> |
|||
<# string dataType = "Complex";#> |
|||
<# string zero = "Complex.Zero";#> |
|||
<# string one = "Complex.One";#> |
|||
<# string prefix = "z";#> |
|||
<# string svd_work = "2 * Math.Min(rowsA, columnsA) + Math.Max(rowsA, columnsA)";#> |
|||
<#@ include file="..\native.header.include" #> |
|||
<#@ include file="..\native.generic.include" #> |
|||
<#@ include file="..\native.footer.include" #> |
|||
@ -0,0 +1,12 @@ |
|||
<#@ template language="C#" debug="true" #> |
|||
<#@ output extenstion="cs" #> |
|||
<# string library = "GotoBlas";#> |
|||
<# string title = "GotoBLAS2";#> |
|||
<# string dataType = "Complex32";#> |
|||
<# string zero = "Complex32.Zero";#> |
|||
<# string one = "Complex32.One";#> |
|||
<# string prefix = "c";#> |
|||
<# string svd_work = "2 * Math.Min(rowsA, columnsA) + Math.Max(rowsA, columnsA)";#> |
|||
<#@ include file="..\native.header.include" #> |
|||
<#@ include file="..\native.generic.include" #> |
|||
<#@ include file="..\native.footer.include" #> |
|||
@ -0,0 +1,12 @@ |
|||
<#@ template language="C#" debug="true" #> |
|||
<#@ output extenstion="cs" #> |
|||
<# string library = "GotoBlas";#> |
|||
<# string title = "GotoBLAS2";#> |
|||
<# string dataType = "double";#> |
|||
<# string zero = "0.0";#> |
|||
<# string one = "1.0";#> |
|||
<# string prefix = "d";#> |
|||
<# string svd_work = "Math.Max((3 * Math.Min(rowsA, columnsA)) + Math.Max(rowsA, columnsA), 5 * Math.Min(rowsA, columnsA))";#> |
|||
<#@ include file="..\native.header.include" #> |
|||
<#@ include file="..\native.generic.include" #> |
|||
<#@ include file="..\native.footer.include" #> |
|||
@ -0,0 +1,12 @@ |
|||
<#@ template language="C#" debug="true" #> |
|||
<#@ output extenstion="cs" #> |
|||
<# string library = "GotoBlas";#> |
|||
<# string title = "GotoBLAS2";#> |
|||
<# string dataType = "float";#> |
|||
<# string zero = "0.0f";#> |
|||
<# string one = "1.0f";#> |
|||
<# string prefix = "s";#> |
|||
<# string svd_work = "Math.Max((3 * Math.Min(rowsA, columnsA) + Math.Max(rowsA, columnsA)), 5 * Math.Min(rowsA, columnsA))";#> |
|||
<#@ include file="..\native.header.include" #> |
|||
<#@ include file="..\native.generic.include" #> |
|||
<#@ include file="..\native.footer.include" #> |
|||
@ -0,0 +1,8 @@ |
|||
<#@ template language="C#" debug="true" #> |
|||
<#@ output extenstion="cs" #> |
|||
<# string namespaceSuffix = "GotoBlas"; |
|||
string library = "GotoBLAS2"; |
|||
#> |
|||
<#@ include file="..\safe.native.common.include" #> |
|||
} |
|||
} |
|||
Loading…
Reference in new issue