亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? unitlinearregress2.pas

?? 很不錯的非線性回歸分析程序
?? PAS
字號:
unit UnitLinearRegress;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Grids, ValEdit, ExtCtrls, StdCtrls, Menus, math, Clipbrd, jpeg,
  Animate, GIFCtrl, Compile_Hss, CPUCounter_Hss, Buttons, TextZhi_Hss;

type
  TfrmMain = class(TForm)
    procedure FormCanResize(Sender: TObject; var NewWidth,
      NewHeight: Integer; var Resize: Boolean);
    procedure VLE_DataKeyPress(Sender: TObject; var Key: Char);
    procedure N11Click(Sender: TObject);
    procedure VLE_DataStringsChange(Sender: TObject);
    procedure VLE_ValueKeyPress(Sender: TObject; var Key: Char);
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    procedure Button3Click(Sender: TObject);
    procedure Button10Click(Sender: TObject);
    procedure Button4Click(Sender: TObject);
    procedure Button6Click(Sender: TObject);
    procedure Button8Click(Sender: TObject);
    procedure Button5Click(Sender: TObject);
    procedure Button7Click(Sender: TObject);
    procedure Button9Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmMain: TfrmMain;
  
var dd1   :Extended;

implementation

uses UnitLinearRegressFunction, UnitAbout, UnitHelp;//, UnitAuto;

{$R *.dfm}

procedure TfrmMain.FormCanResize(Sender: TObject; var NewWidth,
  NewHeight: Integer; var Resize: Boolean);
begin
   //if (NewWidth<640) then NewWidth:=640;
   //if (NewHeight<480) then NewHeight:=480;
end;

procedure TfrmMain.VLE_DataKeyPress(Sender: TObject; var Key: Char);
begin
    Key:=upcase(Key);
    //showmessage(inttostr(byte(key)));
    case Key of
        '0','1','2','3','4','5','6','7','8','9': Key:=Key;
        'E','.','-','+': Key:=Key;
        #8,#9,#13: Key:=Key;
        else Key:=#0;
    end;
end;

procedure TfrmMain.N11Click(Sender: TObject);
begin
    if  N11.Checked then
        self.FormStyle:=fsNormal
    else
        self.FormStyle:=fsStayOnTop;
    self.N11.Checked:= not(self.N11.Checked);
end;

procedure TfrmMain.VLE_DataStringsChange(Sender: TObject);
begin
    self.RadioButton1.Checked :=false;
    self.RadioButton2.Checked :=false;
    //SetVLEData(VLE_Value);
    VLE_Value.Strings.Text:='';
    self.ImgLine.Visible:=false;
end;

procedure TfrmMain.VLE_ValueKeyPress(Sender: TObject;
  var Key: Char);
begin
    Key:=#0;
end;

procedure TfrmMain.Button1Click(Sender: TObject);
var x,y     :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            y:= strtofloat(self.Edit1.Text);
            x:=x+y;
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            y:= strtofloat(self.Edit1.Text);
            x:=x+y;
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('加法計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button2Click(Sender: TObject);
var x,y     :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin         
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            y:=strtofloat(self.Edit2.Text);
            x:=x*y;
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            y:=strtofloat(self.Edit2.Text);
            x:=x*y;
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('乘法計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button3Click(Sender: TObject);
var x,y     :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin        
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            y:=strtofloat(self.Edit3.Text);
            if y-trunc(y)=0 then
            begin
                x:=IntPower(x,trunc(y));
            end
            else
                x:=exp(ln(x)*y);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            y:=strtofloat(self.Edit3.Text);
            if y-trunc(y)=0 then
            begin
                x:=IntPower(x,trunc(y));
            end
            else
                x:=exp(ln(x)*y);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('次方計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button10Click(Sender: TObject);
var x,y     :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            y:=strtofloat(self.Edit4.Text);
            x:=ln(x)/ln(y);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            y:=strtofloat(self.Edit4.Text);
            x:=ln(x)/ln(y);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('求對數(shù)計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button4Click(Sender: TObject);
var x       :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            x:=sin(x);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            x:=sin(x);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('Sin計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button6Click(Sender: TObject);
var x       :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            x:=cos(x);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            x:=cos(x);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('Cos計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button8Click(Sender: TObject);
var x       :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            x:=tan(x);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            x:=tan(x);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('Sin計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button5Click(Sender: TObject);
var x       :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            x:=arcsin(x);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            x:=arcsin(x);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('ArcSin計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button7Click(Sender: TObject);
var x       :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            x:=arccos(x);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            x:=arccos(x);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('ArcCos計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

procedure TfrmMain.Button9Click(Sender: TObject);
var x       :double;
    i       :integer;
    n       :integer;
    DataOld :string;
begin
    n:=1;
    DataOld:=VLE_Data.Strings.Text;
  try
    if self.RadioButton1.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            n:=i;
            x:=strtofloat(self.VLE_Data.Cells[0,i]);
            x:=Arctan(x);
            self.VLE_Data.Cells[0,i]:=floattostr(x);
        end;
    end
    else if self.RadioButton2.Checked  then
    begin
        for i:=1 to self.VLE_Data.RowCount-1 do
        begin
            x:=strtofloat(self.VLE_Data.Cells[1,i]);
            x:=Arctan(x);
            self.VLE_Data.Cells[1,i]:=floattostr(x);
        end;
    end
    else
    begin
        application.MessageBox('請先選定是針對x軸還是y軸進行計算。','提醒:',MB_ICONINFORMATION);
    end;
  except
    application.MessageBox(Pchar('Arctg計算在計算第'+inttostr(n)+'行數(shù)據(jù)時出現(xiàn)錯誤。'),'出錯:',MB_ICONERROR);
    VLE_Data.Strings.Text:=DataOld;
  end;
end;

end.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合色在线| caoporm超碰国产精品| 亚洲成人自拍网| 亚洲mv在线观看| 亚洲国产综合人成综合网站| 亚洲一区二区三区中文字幕在线| 亚洲人成在线观看一区二区| 亚洲精品视频一区二区| 亚洲中国最大av网站| 亚洲亚洲人成综合网络| 天天操天天干天天综合网| 天天av天天翘天天综合网色鬼国产 | 国产老女人精品毛片久久| 国内成人免费视频| 国产二区国产一区在线观看 | 日韩一区二区三区视频| 日韩精品一区二区三区中文不卡| 精品国产免费一区二区三区四区| 2022国产精品视频| 中文字幕二三区不卡| 亚洲美女区一区| 天堂蜜桃91精品| 精品一区二区三区蜜桃| 国产激情一区二区三区四区| 成年人午夜久久久| 欧美日韩国产大片| 精品少妇一区二区三区日产乱码 | 欧美一区二区三区精品| 欧美精品一区二区不卡| 国产精品国产自产拍在线| 一区二区三区在线观看国产| 亚洲成a人片在线观看中文| 蜜桃视频第一区免费观看| 国产成人精品免费在线| 欧洲视频一区二区| 欧美大胆一级视频| 国产精品灌醉下药二区| 丝袜亚洲精品中文字幕一区| 国产精品自拍在线| 日本精品裸体写真集在线观看| 欧美一区二区成人6969| 中文子幕无线码一区tr| 亚洲va欧美va天堂v国产综合| 精品亚洲porn| 91国产精品成人| 精品国产sm最大网站免费看| 亚洲欧美一区二区三区久本道91 | 91香蕉视频mp4| 欧美一区二区成人| 自拍偷拍欧美精品| 久久精品久久精品| 色88888久久久久久影院按摩| 欧美大胆人体bbbb| 一级女性全黄久久生活片免费| 黄色资源网久久资源365| 91黄色免费看| 中文字幕免费不卡在线| 奇米亚洲午夜久久精品| 色婷婷av一区二区| 国产人久久人人人人爽| 天堂av在线一区| 91女神在线视频| 久久午夜电影网| 婷婷丁香久久五月婷婷| 色哟哟一区二区在线观看| 久久网站热最新地址| 亚洲国产精品久久久久秋霞影院| 国产不卡免费视频| 日韩视频在线一区二区| 亚洲综合在线视频| www.欧美精品一二区| 精品国产一区二区国模嫣然| 亚洲成人av资源| 欧洲一区在线电影| 日韩美女精品在线| 国产91露脸合集magnet| 日韩欧美一区在线| 午夜伦理一区二区| 欧美在线看片a免费观看| 国产精品国产三级国产三级人妇| 国产在线播放一区二区三区| 日韩欧美国产小视频| 午夜视频一区二区三区| 91黄色小视频| 亚洲美女在线一区| 欧美日韩国产经典色站一区二区三区 | 91麻豆国产香蕉久久精品| 国产午夜亚洲精品理论片色戒| 麻豆免费看一区二区三区| 51精品久久久久久久蜜臀| 亚洲国产人成综合网站| 欧美三级欧美一级| 亚洲成av人片| 欧美三级电影网| 亚洲成精国产精品女| 欧美日高清视频| 亚洲第一狼人社区| 欧美日本免费一区二区三区| 亚洲国产精品人人做人人爽| 欧美中文字幕一区| 婷婷六月综合网| 欧美一区二区三区视频在线观看| 免费黄网站欧美| 日韩欧美一二三四区| 久久成人18免费观看| 精品理论电影在线| 国产麻豆精品久久一二三| 久久久久久久综合日本| 国产在线日韩欧美| 国产亚洲综合性久久久影院| 国产aⅴ综合色| 中文字幕中文乱码欧美一区二区| 99久久精品免费看| 亚洲综合色婷婷| 欧美另类videos死尸| 日韩激情视频在线观看| 日韩免费一区二区三区在线播放| 久久电影网电视剧免费观看| 国产亚洲精品超碰| 91一区二区在线| 午夜精品久久久久久不卡8050| 欧美一区二区三区喷汁尤物| 九九视频精品免费| 国产欧美精品一区| 色综合久久88色综合天天6| 亚洲综合图片区| 日韩午夜电影在线观看| 国产精品综合一区二区三区| 中文字幕亚洲一区二区av在线| 色狠狠桃花综合| 日产国产高清一区二区三区| 久久久久青草大香线综合精品| 成人18视频日本| 日韩电影在线观看网站| 国产亚洲va综合人人澡精品| 日本韩国一区二区| 麻豆成人久久精品二区三区红| 国产三级精品视频| 在线观看亚洲精品| 韩国v欧美v日本v亚洲v| 亚洲欧美日韩国产成人精品影院 | 综合av第一页| 欧美乱妇23p| 在线亚洲一区二区| 日韩高清国产一区在线| 欧美国产禁国产网站cc| 欧美日韩一区二区三区免费看| 麻豆精品一区二区三区| 亚洲丝袜精品丝袜在线| 日韩欧美国产一区二区三区| 91蜜桃视频在线| 免费成人在线观看视频| 亚洲欧美影音先锋| 精品少妇一区二区三区日产乱码 | 精品一区二区三区蜜桃| 伊人性伊人情综合网| 欧美精品一区视频| 色婷婷激情久久| 国产精品一区二区在线观看网站| 亚洲一区在线观看免费| 国产片一区二区三区| 7777精品久久久大香线蕉| 成人性生交大片免费| 久久精品72免费观看| 亚洲国产日韩精品| 中文字幕一区视频| 26uuu精品一区二区三区四区在线| 91黄色激情网站| 丁香桃色午夜亚洲一区二区三区 | 91精品国产麻豆| 一本高清dvd不卡在线观看| 国产很黄免费观看久久| 日产欧产美韩系列久久99| 洋洋av久久久久久久一区| 亚洲国产精品国自产拍av| 日韩欧美一区在线观看| 欧美精品自拍偷拍| 色婷婷激情综合| 99综合影院在线| 国产精品亚洲午夜一区二区三区| 日韩不卡一区二区三区| 亚洲观看高清完整版在线观看 | 成人综合婷婷国产精品久久| 蜜桃av一区二区| 日产欧产美韩系列久久99| 亚洲国产wwwccc36天堂| 一区二区三区美女视频| 亚洲视频在线一区| 国产精品色眯眯| 欧美韩日一区二区三区| 久久久久亚洲综合| 久久人人爽人人爽| 久久综合成人精品亚洲另类欧美| 日韩视频免费观看高清完整版 | 国产麻豆精品久久一二三| 麻豆精品一区二区三区| 日本成人在线视频网站| 热久久免费视频| 懂色一区二区三区免费观看| 久久国产麻豆精品|