(***********************************************************************
This file was generated automatically by the Mathematica front end.
It contains Initialization cells from a Notebook file, which typically
will have the same name as this file except ending in ".nb" instead of
".m".

This file is intended to be loaded into the Mathematica kernel using
the package loading commands Get or Needs.  Doing so is equivalent to
using the Evaluate Initialiation Cells menu command in the front end.

DO NOT EDIT THIS FILE.  This entire file is regenerated automatically 
each time the parent Notebook file is saved in the Mathematica front end.
Any changes you make to this file will be overwritten.
***********************************************************************)

		(* for calculation of jacobian of TowZTwo model*)

BeginPackage["SegAnalysis`jaco2Z2`Bt2`", "SegAnalysis`jaco2Z2`Bt2a`", 
  "SegAnalysis`jaco2Z2`Bt2b`"]

Begin["`Private`"]

der[x1_, t1_, x2_, t2_, xv1_,vb1_,vh1_, xv2_,vb2_,vh2_, pts_, wp_]:= 
  N[( Which[
		#1 <= x1 && #1 <= xv1,
		SegAnalysis`jaco2Z2`Bt2a`Private`a[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		x1<#1 && #1<=x2 && #1 <= xv1,
		SegAnalysis`jaco2Z2`Bt2a`Private`b[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		x2 < #1 && #1 <= xv1,
		SegAnalysis`jaco2Z2`Bt2a`Private`c[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		#1 <= x1 && xv1 < #1 && #1 <= xv2,
		SegAnalysis`jaco2Z2`Bt2a`Private`d[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		x1<#1 &&#1<=x2 && xv1 < #1 && #1 <= xv2,
		SegAnalysis`jaco2Z2`Bt2a`Private`e[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		x2 < #1 && xv1 < #1 && #1 <= xv2,
		SegAnalysis`jaco2Z2`Bt2b`Private`a[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		#1 <= x1 && xv2 < #1,
		SegAnalysis`jaco2Z2`Bt2b`Private`b[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		x1<#1 && #1<=x2 && xv2 < #1,
		SegAnalysis`jaco2Z2`Bt2b`Private`c[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2],
		x2 < #1 && xv2 < #1,
		SegAnalysis`jaco2Z2`Bt2b`Private`d[#1, x1, t1, x2, t2, xv1,vb1,vh1, xv2,vb2,
              vh2]]  &) /@ pts, wp]


(* =========================================== *)
End[]

EndPackage[]