代码搜索结果
找到约 10,000 项符合
Power 的代码
sin_wave.pin
-- Copyright (C) 1991-2006 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and a
simple_dig_ckt_sizing_vect.m
% Digital circuit sizing using vectorize features
% (a figure is generated if the tradeoff flag is turned on)
%
% This is an simple, ahard-coded example taken directly from:
%
% A Tutorial on Geomet
mpower.m
function r = mpower(posy, power)
% POSYNOMIAL/MPOWER Implements '^' for posynomial objects.
%
% Note: all the powers (even the integer ones are treated using gposy's).
%
if( ~isnumeric(power) )
er
mpower.m
function r = mpower(gposy, power)
% POSYNOMIAL/MPOWER Implements '^' for general posynomial objects.
%
if( ~isnumeric(power) )
error('The exponent in the power must be a numerical value.');
end
i
mpower.m
function r = mpower(x,y)
% MONOMIAL/MPOWER Implement '^' for a monomial.
%
if( ~isnumeric(y) )
error('The exponent in the power must be a numerical value.');
end
if( length(x) > 1 )
error(['Can
多项式.cpp
#include
using namespace std;
struct XPower{
int cof;//系数coefficient
int power;//幂数
XPower* next;
};
typedef XPower* link;
class XPowerMult{//多项式multinomial
private:
link head;
ch03.02.c
// #include
#include
/**
** 2 raised to the power of 10: 1024
**/
int main()
{
int value = 2;
int pow = 10;
cout
calmoneyx.pas
Unit CALMoneyx;
Interface
Uses
Windows, SysUtils, Math, ComObj, shellapi, Shlobj;
Function DEBX(y, N, i: double): double;
Function DELJ(y, N, i, G, T: double): double;
Function DBLJ(y, N,
ch03.02.c
// #include
#include
/**
** 2 raised to the power of 10: 1024
**/
int main()
{
int value = 2;
int pow = 10;
cout
dds_vhdl.pin
-- Copyright (C) 1991-2004 Altera Corporation
-- Any megafunction design, and related netlist (encrypted or decrypted),
-- support information, device programming or simulation file, and a