SAS common functions

SASCommon function I. mathematical functions  ABS(x) Find the absolute value of X.   MAX(x1,x2,…,xn) Find the largest one in all independent variables.   MIN(x1,x2,…,xn) Find the smallest of all independent variables.   MOD(x,y) X is divided by the remainder of y.   SQRT(x) Seek the square root of X.   ROUND(x,eps) For example, the ROUND (5654.5654, 0.01) result is 5654.57, and the ROUND (5654.5654, 10) result is 5650.   CEIL(x) The smallest integer that is greater than or equal to X. When x is integer, it is x itself, otherwise it is the nearest integer on the right side of X.   ...

View – RemoteViews

The engineer who designs the Android is still very standard, and at the first glance, he knows what it means. RemoteViews, as the name suggests, remote View. Android in order to enable the process A to display the View of the process B, this kind of View is designed.It’s not a real View. In fact, we used RemoteViews to send notifications to the status bar. Let’s get to know about RemoteViews. Let’s take a look at how RemoteViews works with Notification: import android.annotation.SuppressLint; import android.app.Activity; import android.app.Notification; import android.app.N...

Caffe uses faster RCNN to train its own data.

1 . How to deal with those pyx and.C.H files   Some files under lib are.Pyx files, encounter the file that can not be imported cython, and then make the Lib folder again.   The operation of.C and.H is the same. 2 . It’s best not to use pretrained_model when training your own data, because the type of training varies, loss = inf and loss = nan, – Nan may occur. 3 . Data source checking:   When you’re making your own VOC format data source, check the contents of the. XML file to see if it’s consistent with groudtruth, or the training won’t converge. (pr...

Summary of commonly used STL containers for brushes

This paper summarizes the commonly used brushes used to STL containers and some standard algorithms, including: string、vector、map、pair、unordered_map、set、queue、priority_queue、stack,And the common operations of these containers, such as insertion, deletion, lookup, access (iterator or subscript, C++ 11 keyword auto understand? Sequential access to or random access), initialization, etc. Finally, we introduce several common functions of header files &lt, algorithm&gt and below.In particular, sort. 【string】C++String type 1.Insert operationstr.insert(pos,str);//Inse...

too many open files

This problem is encountered every time. There are too few files in the system. ulimit -n 2048 Permanent configuration: vim /etc/security/limits.conf Bottom configuration: # End of file * soft nofile 100000 * hard nofile 100000 * soft memlock unlimited * hard memlock unlimited * hard nproc 100000 * soft nproc 100000 The first configuration user, * represents all users, both soft and hard are configured, and if the number is the same, the second is assigned “-“ by the way If you want to vi...

Establishment of Apache virtual host on 12.linux and establishment of HTTPS protocol website

The establishment of a.Apache virtual host   Virtual web host Build multiple web sites on the same server. Each site does not monopolize a real server.       1.Build DNS to resolve two domains with the same IP              vim /etc/name.conf              zone “simplexue.com” IN {             type master ;             file “simplexue.com.zone“;         };           zone “simpleware.com” IN {             type master ;             file “simpleware.com.zone̶...

How to jump the profit center report KE5Z

The code comes from the profit center accounting document for tracking FB03 accounting voucher. First stick to the code DATA: lw_awtyp TYPE acchd-awtyp, lw_awref TYPE acchd-awref, lw_aworg TYPE acchd-aworg, lt_documents TYPE STANDARD TABLE OF acc_doc. lw_awtyp = 'BKPFF'. lw_awref = ls_alv-belnr. CONCATENATE ls_alv-rbukrs ls_alv-ryear INTO lw_aworg. CALL FUNCTION 'AC_DOCUMENT_RECORD' EXPORTING i_awtyp = lw_awtyp i_awref = lw_awref i_aworg = lw_a...

The unknown rules and tricky things in Baidu bidding

First of all, as long as you can make good use of Baidu bidding is a good thing, it can be said that all these years, I have been eating this meal Baidu, so I am very grateful to Baidu. This article is not to say that Baidu is not good. It is just a matter of fact. Only by understanding it can we make good use of it.           Here refers to the operation of the account, the other does not say, Baidu bidding in those unknown rules and cat greasy, many, give a few examples to illustrate briefly:         First, click the price formula. Many people know the formula, but who dare...