Displaying 20 results from an estimated 28 matches for "vmin".
Did you mean:
vmi
2008 Oct 20
2
R Newbie Question
...= function(invecx, invecy) {
invec = vector("numeric", 2)
invec[1] = invecx
invec[2] = invecy
vec1 = star1mass * norm(star1center - invec) / sqr(distance(invec,
star1center))
vec2 = star2mass * norm(star2center - invec) / sqr(distance(invec,
star2center))
return(len(vec1 + vec2))
}
vmin = -1
vmax = 1
step = 0.1
vals = ((vmax - vmin) / step) + 1
xvals = seq(vmin, vmax, step)
yvals = seq(vmin, vmax, step)
a = expand.grid(seq(vmin, vmax, step), seq(vmin, vmax, step))
b = matrix(seq(1, vals*vals), vals)
for (x in 1:vals) {
for (y in 1:vals) {
b[x, y] = gravitation(sum(a[x,][1]),...
2007 Aug 29
5
Round Robin trafic shapping
I have this problem:
I have an Internet line input with variable speed. I have a max speed and a
min speed: Vmax and Vmin.
The speed is always changing between Vmax and Vmin. I want to share the
actual bandwidth (you don''t not how much, you only know the speed is between
Vmax and Vmin) for N clients. The bandwidth should be shared so nobody can
get more bandwidth than the others.
There is some queue disc...
2008 Jul 10
2
[PATCH] tripplite driver updates
...:X\r", x_value, sizeof x_value) < 1)
+ sleep(1);
dstate_setinfo("ups.mfr", "%s", "Tripp Lite");
@@ -365,57 +352,111 @@ void upsdrv_shutdown(void)
void upsdrv_updateinfo(void)
{
char buf[256];
- int bp;
- float bv;
+ int bp, volt, temp, load, vmax, vmin, stest, len;
+ int bcond, lstate, tstate, mode;
+ float bv, freq;
+
+ len = send_cmd(":D\r", buf, sizeof buf);
+ if (len != 21) {
+ ser_comm_fail("Data command failed: [%d] bytes != 21 bytes.", len);
+ dstate_datastale();
+ return;
+ }
+
+ volt = hex2d(buf + 2, 2);
+ temp =...
2015 May 13
0
Problem connecting to APC Smart UPS SC1000 on Windows
...csmart.exe -a SC1000
Network UPS Tools - APC Smart protocol driver 3.1
(Windows-v2.6.5-5-7-g72f380c)
APC command table version 3.1
w32_serial_open (COM3)
setting initial state on COM3
0000007C = w32_serial_open (COM3)
Warning: no locking method is available: No error [+?????? ???????
?????????. ]
vmin_ 0, vtime_ 0
action 0
vtime 0, vmin 1
ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1,
ReadTotalTimeoutMultiplier
-1
vmin_ 1, vtime_ 0
action 0
vtime 0, vmin -1
ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1,
ReadTotalTimeoutMultiplier
-1
vmin_ -1, vtime_ 0
COM3: device reports different...
2008 Oct 20
1
Error reporting in R
...itial values v[i] (i=1,...,n).
The initial values are all finite. Two cases arise:
A- For some sets of initial values mle is giving parameter estimates.
B- For some other initial values, mle is reporting the following error:
Error in optim(start,f,method=method,hessian=TRUE,...):
Initial value in vmin is not finite
My aim is to tell R to return the estimates whenever case A, and to
return the word "Error" whenever case B (using an "if" statement inside
a loop).
How to tell R to return the word "Error" whenever mle reports the error
given above?
Is there a function...
2004 May 20
0
theora header bitmap for alpha3
...ry :)
[from oggz_auto.h]
/**
* Theora
*
* Default field type: BIG ENDIAN unsigned integer
*
Field names in full caps refer to fields described in the Theora I
specification. Lowercase refers to theora_info struct members from
libtheora.
This is the Theora header for theora-alpha3:
(VMAJ=3, VMIN=2, VREV=0)
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1| Byte
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| packtype | Identifier char[6]: 'theora' | 0-3
+-+-+-+-+...
2006 Mar 14
1
Ordered logistic regression in R vs in SAS
...ude~sp + wind_dir + wind_speed + hr, data=altioot)
But when I asked The summary of my regression I got the folloing error message:
> summary (mod1)
Re-fitting to get Hessian
Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess, ...) :
the initial value of 'vmin' is not finished.
I decided to try it in SAS with the following program:
PROC LOGISTIC
DATA=altioot;
CLASS sp wind_dir ;
title "mod1";
output out=mod1;
MODEL altitude = sp wind_dir wind_speed hr;
RUN;
And it ran well with an good output. So my question is: Can someone tell me what...
2018 Nov 29
0
Problem to connect to APC SC1500
...----------
Network UPS Tools - APC Smart protocol driver 3.1 (Windows-v2.6.5-5-7-g72f380c)
APC command table version 3.1
w32_serial_open (COM4)
setting initial state on COM4
000000A8 = w32_serial_open (COM4)
Warning: no locking method is available: No error [Der Vorgang wurde erfolgreich beendet. ]
vmin_ 0, vtime_ 0
action 0
vtime 0, vmin 1
ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1, ReadTotalTimeoutMultiplier -1
vmin_ 1, vtime_ 0
action 0
vtime 0, vmin -1
ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1, ReadTotalTimeoutMultiplier -1
vmin_ -1, vtime_ 0
COM4: device reports different...
2016 Jun 01
15
[PATCH 00/15] clk/tegra: improve code and add DFS support
...A's volt driver a bit, mainly in order
to support a minimum voltage that GM20B requires.
Alexandre Courbot (15):
tegra: fetch gpu_speedo_id
volt/gk20a: make unused public functions static
volt/gk20a: constify and name v_scale
volt/gk20a: rename constructor
volt/gm20b: add support for vmin parameter
clk/gk20a: properly protect macro argument
clk/gk20a: setup slide once during init
clk/gk20a: reorganize MNP calculation a bit
clk/gk20a: use nvkm_ functions in slide()
clk/gk20a: add and use MNP programming functions
clk/gk20a: parameterize PLL settings
clk/gk20a: factorize...
2013 May 11
1
blazer_ser problem on windows NUT 2.6.5-3780M
...0.000000 debug level is '3'
0.002000 w32_serial_open (com6)
0.177010 setting initial state on com6
0.231013 00000050 = w32_serial_open (com6)
0.236014 Warning: no locking method is available: No error [The
operation completed successfully. ]
0.244014 vmin_ 0, vtime_ 0
0.346020 action 0
0.398023 vtime 0, vmin 1
0.401023 ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1,
ReadTotalTimeoutMultiplier -1
0.408024 vmin_ 1, vtime_ 0
0.410024 action 0
0.412024 vtime 0, vmin -1
0.414024 ReadTotalTimeoutConsta...
2008 Jan 16
8
PATCH [xenconsoled]: makes pty slave raw early
Hi,
on my system (Linux 2.6.18.8 - ia64), if a domain write on the xencons
before xenconsole is initialized the domain gets back what it wrote.
This patch fixes this issue by making raw the pty slave very early.
(I suppose it doesn''t happen with linux as a guest because it takes a little
bit of time before writing to xencons).
Tristan.
_______________________________________________
2017 Oct 12
1
Recurrence plots in R using different colours
...which
does not reflect the nature of the recurrence. I hope that my explanation is
clear enough.
My procedure up until now has been:
1) perform a recurrence quantification analysis:
testplot <- rqa(time.series = test$Code, embedding.dim = 1, time.lag = 1,
radius = 0.1,lmin =2, vmin =2, distanceToBorder = 2, save.RM
= TRUE, do.plot = TRUE)
This plot is based on a TRUE FALSE sparse matrix.
2) Accordingly the next step was to transform this TRUE FALSE matrix to one
that contains the values for the codes for TRUE and 0 for false:
RP1 <- testplot$recurrence.matrix
RP2 <...
2016 Jul 20
0
port for powercom
...so far:-
com1 with these results:-
Network UPS Tools - PowerCom protocol UPS driver 0.13 (Windows-v2.6.5-5-7-g72f38
0c)
w32_serial_open (com1)
setting initial state on com1
0000005C = w32_serial_open (com1)
Warning: no locking method is available: No error [The operation completed succe
ssfully. ]
vmin_ 0, vtime_ 0
action 0
vtime 0, vmin 1
ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1, ReadTotalTimeoutMultiplier
-1
data receiving error (0 instead of 11 bytes)
^C
Com3 gives same result, nothing else I have tried (com2, com4, com5, com6, usb, usb0, usb1, usb2, usb3) gives me any results.
D...
2007 Jun 10
0
initial value for optim in polr question
Hi,
I have a problem with initial value for optim in polr that R report. After a call to polr, it complains that:
Error in optim(start, fmin, gmin, method="BFGS", hessian= Hess, ...) : initial value in 'vmin' is not finite.
Would you please suggest a way round to this problem? Thank you so much in advance.
Rgds,
- adschai
2013 Apr 02
3
blazer driver: Possible bugs with battery packs
...000 debug level is '5'
0.000000 w32_serial_open (com1)
0.000000 setting initial state on com1
0.000000 000007D0 = w32_serial_open (com1)
0.000000 Warning: no locking method is available: No error [?
????????-?
???????????? ?? ??????-?. ]
0.000000 vmin_ 0, vtime_ 0
0.109369 action 0
0.109369 vtime 0, vmin 1
0.109369 ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1,
ReadTotalTi
meoutMultiplier -1
0.109369 vmin_ 1, vtime_ 0
0.109369 action 0
0.109369 vtime 0, vmin -1
0.109369 ReadTotalTi...
2009 Jul 24
2
How to find the min and max of two variables in a data frame
I have two variables in a data frame, I want to generate two additional
variables. For every observations (i.e. every row), I want the first new
variable 'min' to carry the minimum of the two existing variables, and I
want the second new variable 'max' to carry the maximum of the two existing
variables. I then want to sort the data frame by min and max, and delete
duplicated rows
2008 Nov 25
1
sio vs uart vs ucomm problems / differences
...T | INPCK | IGNPAR | PARM
RK);
t.c_oflag &= ~(OPOST | ONLCR | OCRNL | OXTABS | ONOEOT |
ONOCR | ONLRET);
t.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CCTS_OFLOW |
CRTS_IFLOW | CDTR_IFLOW | CDSR_OFLOW | CCAR_OFLOW);
t.c_cflag |= (CS8);
t.c_cc[VMIN] = 1;
t.c_cc[VTIME] = 0;
tcsetattr(dev->fd, TCSANOW, &t);
val = fcntl(dev->fd, F_GETFL, 0);
if (val >= 0) {
fcntl(dev->fd, F_SETFL, val | O_NONBLOCK);
}
}
else {
tcflush(...
2004 Oct 31
3
a question about Bitstream Header.
Hi,
I have a question about the format of Theora bitstream header.
It seems to me that there are differences between the specification[1]
(version 2004 Oct 1) and its reference implementation in
libtheora 1.0alpha3 released at 2004 Jun 1.
I mean that... please refer to Section 6.2 'Identification Header Decode'
in that specification[1] and the function
2013 Jan 30
3
bug report: apcsmart (WIN) 940-0024C connect fail, problem with command 'E'
...0.000000 debug level is '5'
0.000000 w32_serial_open (COM1)
0.010014 setting initial state on COM1
0.010014 000007D0 = w32_serial_open (COM1)
0.010014 Warning: no locking method is available: No error [Der
Vorgang wurde erfolgreich beendet. ]
0.020029 vmin_ 0, vtime_ 0
0.120173 action 0
0.120173 vtime 0, vmin 1
0.120173 ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1,
ReadTotalTimeoutMultiplier -1
0.120173 vmin_ 1, vtime_ 0
0.230331 action 0
0.230331 vtime 0, vmin -1
0.230331 ReadTotalTimeoutCons...
2012 May 10
3
battery.charge and other fixes needed for X-Power Tigra 1kVA
...5625 debug level is '7'
0.015625 w32_serial_open (com1)
0.015625 setting initial state on com1
0.015625 000007AC = w32_serial_open (com1)
0.015625 Warning: no locking method is available: No error [The
operation completed successfully. ]
0.015625 vmin_ 0, vtime_ 0
0.109376 action 0
0.109376 vtime 0, vmin 1
0.125002 ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1,
ReadTotalTi
meoutMultiplier -1
0.125002 send_to_all: SETINFO device.type "ups"
0.125002 send_to_all: SETINFO driver.version "...